Re: Invoking methods from different threads
Re: Invoking methods from different threads
- Subject: Re: Invoking methods from different threads
- From: Dustin Voss <email@hidden>
- Date: Wed, 1 Dec 2004 13:17:11 -0800
On 1 Dec, 2004, at 9: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
You can try the InterThreadMessaging library. It's very easy.
Overview: http://cocoadev.com/?InterThreadMessaging
Download: http://homepage.mac.com/d.j.v./FileSharing3.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden