gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Messaging across threads using NSThread


From: Riccardo Mottola
Subject: Re: Messaging across threads using NSThread
Date: Tue, 07 Apr 2009 20:42:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090313 SeaMonkey/1.1.14

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 <address@hidden> 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 !?).

  


reply via email to

[Prev in Thread] Current Thread [Next in Thread]