On Fri, Apr 11, 2008 at 1:32 PM, Jean-Daniel Dupas <[EMAIL PROTECTED]> wrote:
> NSRunloop documentation disagree: > In general, your application does not need to either create or explicitly > manage NSRunLoop objects. Each NSThread object, including the application's > main thread, has an NSRunLoop object automatically created for it as needed. > If you need to access the current thread's run loop, you do so with the > class method currentRunLoop. currentRunLoop creates the run loop if necessary; the run loop is not automatically created at thread start. Also, the run loop must actually be run, which passes thread control into [NSRunLoop run]- you can't have a run loop magically running in your thread while you're doing other things in the thread unless those other things are managed by the run loop. -- - David T. Wilson Princeton Satellite Systems [EMAIL PROTECTED] _______________________________________________ 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 [EMAIL PROTECTED]