Re: NSNotificationQueue & NSOperationQueue thread death
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