Skip navigation.
 
mlRe: Invoking methods from different threads
FROM : Evan Schoenberg
DATE : Wed Dec 01 20:56:46 2004

My favorite way is NDRunLoopMessenger, yet another badass class by
Nathan Day.  I use for two different auxiliary threads which I need to
be able to message, and it works like a charm.

http://homepage.mac.com/nathan_day/

-Evan
www.adiumx.com

On Dec 1, 2004, at 11:27 AM, Brendan Younger wrote:

> After quite a bit of tinkering, I've discovered that -[NSRunLoop
> performSelector:target:argument:order:modes:] isn't thread safe. 
> However, I need to be able to perform a selector on a specific run
> loop (NOT just the main thread, so I can't user
> -performSelectorOnMainThread:etc.) and be able to trigger the
> performSelector from a different thread.  Does anyone know of a good
> way to do this?
>
> Brendan Younger
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/evan.<email_removed>
>
> This email sent to evan.<email_removed>
>

Related mailsAuthorDate
mlInvoking methods from different threads Brendan Younger Dec 1, 18:27
mlRe: Invoking methods from different threads Evan Schoenberg Dec 1, 20:56
mlRe: Invoking methods from different threads Dustin Voss Dec 1, 22:17