Re: NSOperation Question
Re: NSOperation Question
- Subject: Re: NSOperation Question
- From: Ken Thomases <email@hidden>
- Date: Wed, 7 Jan 2009 20:13:53 -0600
On Jan 7, 2009, at 8:01 PM, Sandro Noel wrote:
i meant main app.
On 7-Jan-09, at 9:00 PM, Sandro Noel wrote:
Thanks Ken i was not aware of run Loops, besides the one for the
mail app
I did not know i could just create one like that :)
Actually, one is automatically created for every thread in your
program. For secondary threads, you just need to add sources to it
and run it.
In this case though, if you are just registering for the Disk
Arbitration callbacks, you can use the main run loop. :)
Cheers,
Ken
_______________________________________________
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