Skip navigation.
 
mlRe: Invoking methods from different threads
FROM : Dustin Voss
DATE : Wed Dec 01 22:17:11 2004

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

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