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: Kévin Vavelin <email@hidden>
- Date: Sun, 10 Feb 2013 01:25:08 +0100
I think dispatch_get_current_queue was replace with dispatch_get_main_queue but i'm not sure... Can you check it ?
Vavelin Kevin
OS X / iOS Developer
Entrepreneur
On 9 févr. 2013, at 21:11, Matt Neuburg <email@hidden> wrote:
> If dispatch_get_current_queue() is deprecated, 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.
>
> --
> matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
> pantes anthropoi tou eidenai oregontai phusei
> Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
> RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
> TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
>
>
> _______________________________________________
>
> 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
_______________________________________________
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