Re: Messaging across threads using NSThread
Nicolas, I did not use it because it is a Cocoa extension to OpenStep and I wanted to do it with the DO way. Riccardo Nicolas Roard wrote: On Mon, Apr 6, 2009 at 8:48 PM, Riccardo Mottola wrote: Hello, in FTP (available in GAP, http://gap.nongnu.org) I do inter-thread messaging with the precise goal to have threads perform operations on the main thread GUI operations. I set up DO between the app itself this way: I was surprised that you did not mention performSelectorOnMainThread: (http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObject/performSelectorOnMainThread:withObject:waitUntilDone:) but it sadly doesn't seem to be implemented on gnustep (I was sure it was !?). ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev
Re: Messaging across threads using NSThread
On Mon, Apr 6, 2009 at 11:09 PM, Fred Kiefer wrote: > Nicolas Roard wrote: >> On Mon, Apr 6, 2009 at 8:48 PM, Riccardo Mottola wrote: >>> Hello, >>> >>> in FTP (available in GAP, http://gap.nongnu.org) I do inter-thread messaging >>> with the precise goal to have threads perform operations on the main thread >>> GUI operations. >>> >>> I set up DO between the app itself this way: >> >> I was surprised that you did not mention performSelectorOnMainThread: >> (http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObject/performSelectorOnMainThread:withObject:waitUntilDone:) >> but it sadly doesn't seem to be implemented on gnustep (I was sure it >> was !?). >> > > > It is there in NSThread.m, most likly you looked in a different place. Ah, thanks ! yes, I only looked in NSObject.m. My bad ! -- Nicolas Roard ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev
Re: Messaging across threads using NSThread
Nicolas Roard wrote: > On Mon, Apr 6, 2009 at 8:48 PM, Riccardo Mottola wrote: >> Hello, >> >> in FTP (available in GAP, http://gap.nongnu.org) I do inter-thread messaging >> with the precise goal to have threads perform operations on the main thread >> GUI operations. >> >> I set up DO between the app itself this way: > > I was surprised that you did not mention performSelectorOnMainThread: > (http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObject/performSelectorOnMainThread:withObject:waitUntilDone:) > but it sadly doesn't seem to be implemented on gnustep (I was sure it > was !?). > It is there in NSThread.m, most likly you looked in a different place. ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev
Re: Messaging across threads using NSThread
On Mon, Apr 6, 2009 at 8:48 PM, Riccardo Mottola wrote: > Hello, > > in FTP (available in GAP, http://gap.nongnu.org) I do inter-thread messaging > with the precise goal to have threads perform operations on the main thread > GUI operations. > > I set up DO between the app itself this way: I was surprised that you did not mention performSelectorOnMainThread: (http://developer.apple.com/DOCUMENTATION/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObject/performSelectorOnMainThread:withObject:waitUntilDone:) but it sadly doesn't seem to be implemented on gnustep (I was sure it was !?). -- Nicolas Roard "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev