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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com