Re: NSOperation Question
Re: NSOperation Question
- Subject: Re: NSOperation Question
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 7 Jan 2009 18:37:51 -0700
On Jan 7, 2009, at 5:45 PM, Sandro Noel wrote:
I use DiskAppearedCallback / DiskDisappearedCallback from the
DiskArbitration Framework
in my application and I want the to be in their separate thread.
How can i have the thread not quit as soon as the callback's are
registered?
The callbacks require scheduling with a run loop, so you'd create a
run loop for the thread and just continuously run it. You don't even
need NSOperation for this.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden