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 (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

Reply via email to