• 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: NSNotificationQueue & NSOperationQueue thread death
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNotificationQueue & NSOperationQueue thread death


  • Subject: Re: NSNotificationQueue & NSOperationQueue thread death
  • From: Eric Hermanson <email@hidden>
  • Date: Wed, 06 May 2009 12:58:35 -0400


On May 6, 2009, at 12:24 AM, Michael Ash wrote:

Background threads, whether directly managed by you or
indirectly created by NSOperationQueue, do not use a runloop by
default.

I did not realize that. I knew threads created by the user did not use NSRunLoop, but I assumed threads created by NSOperationQueue did use NSRunLoop in some way. So does this essentially mean that you cannot use the performSelector... functionality from inside an NSOperation main method because the NSOperationQueue thread that runs the operation does not have a run loop?


- Eric

_______________________________________________

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: NSNotificationQueue & NSOperationQueue thread death
      • From: Michael Ash <email@hidden>
References: 
 >NSNotificationQueue & NSOperationQueue thread death (From: Eric Hermanson <email@hidden>)
 >Re: NSNotificationQueue & NSOperationQueue thread death (From: Eric Hermanson <email@hidden>)
 >Re: NSNotificationQueue & NSOperationQueue thread death (From: Michael Ash <email@hidden>)

  • Prev by Date: +[NSApp nextEventMatchingMask:...] from other thread
  • Next by Date: Re: Vector Graphic Dock Icon?
  • Previous by thread: Re: NSNotificationQueue & NSOperationQueue thread death
  • Next by thread: Re: NSNotificationQueue & NSOperationQueue thread death
  • Index(es):
    • Date
    • Thread