• 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: am I being called on the correct GCD queue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: am I being called on the correct GCD queue?
      • From: Gwynne Raskind <email@hidden>
    • Re: am I being called on the correct GCD queue?
      • From: Kyle Sluder <email@hidden>
References: 
 >am I being called on the correct GCD queue? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: am I being called on the correct GCD queue?
  • Next by Date: Re: am I being called on the correct GCD queue?
  • Previous by thread: am I being called on the correct GCD queue?
  • Next by thread: Re: am I being called on the correct GCD queue?
  • Index(es):
    • Date
    • Thread