Re: am I being called on the correct GCD queue?
Re: am I being called on the correct GCD queue?
- Subject: Re: am I being called on the correct GCD queue?
- From: Kyle Sluder <email@hidden>
- Date: Sat, 09 Feb 2013 16:19:28 -0800
On Feb 9, 2013, at 12:11 PM, Matt Neuburg <email@hidden> wrote:
> If dispatch_get_current_queue() is deprecated
It's not deprecated in any currently non-NDA'd SDK.
> how can I check whether this method is being called on the right dispatch queue? For example, I'd like to throw a wobbly (an assertion, maybe) if this method is called on any queue whose label isn't "com.neuburg.myCoolQueue". Is that a wrong thing to want to do? Thx - m.
Maybe dispatch_queue_specific can be used here?
--Kyle Sluder
_______________________________________________
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