• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURLConnection doesn't post
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSURLConnection doesn't post
      • From: Matt Burnett <email@hidden>
References: 
 >NSURLConnection doesn't post (From: Micha Fuhrmann <email@hidden>)
 >Re: NSURLConnection doesn't post (From: Matt Burnett <email@hidden>)
 >Re: NSURLConnection doesn't post (From: Micha Fuhrmann <email@hidden>)
 >Re: NSURLConnection doesn't post (From: "Tom Harrington" <email@hidden>)
 >Re: NSURLConnection doesn't post (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Efficient object wrappers and GC
  • Next by Date: Re: Override AppleScrollBarVariant on NSScroller?
  • Previous by thread: Re: NSURLConnection doesn't post
  • Next by thread: Re: NSURLConnection doesn't post
  • Index(es):
    • Date
    • Thread