Re: Cocoa thread-safety
Re: Cocoa thread-safety
- Subject: Re: Cocoa thread-safety
- From: Lindsey Spratt <email@hidden>
- Date: Sat, 26 Oct 2002 15:18:35 -0500
Steve Klingsporn <email@hidden> on Fri, 25 Oct 2002 wrote:
> I'm looking for an elegant way for a thread to notify my main thread
> that something needs to happen.
Would the distributed object approach work here? Have the worker thread
just send a message to the main thread (using NSConnection and
friends). I have an app where the UI work is isolated to the main
thread and everything else happens on worker threads and it is managed
in this way.
Lindsey Spratt
http://homepage.mac.com/lspratt
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.