Re: NSURLConnection doesn't post
Re: NSURLConnection doesn't post
- Subject: Re: NSURLConnection doesn't post
- From: "David Wilson" <email@hidden>
- Date: Fri, 11 Apr 2008 23:32:11 -0400
On Fri, Apr 11, 2008 at 1:32 PM, Jean-Daniel Dupas
<email@hidden> 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@hidden
_______________________________________________
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