Greetings!
I've been using NSOperation in my applications and I enjoy it's
simplicity.
All my Operations go into a NSOperationQueue.
How would I go about having an operation stay alive as long as my
application is alive,
This is what I want to do.
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?
something like this ?
- (void) main{
// register the callbacks and get the runloop
// wait for cancellation.
while (!isCancelled){}
}
thank you !
Sandor Noel.
_______________________________________________
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