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

am I being called on the correct GCD queue?


  • Subject: am I being called on the correct GCD queue?
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 09 Feb 2013 12:11:02 -0800

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

  • Follow-Ups:
    • Re: am I being called on the correct GCD queue?
      • From: Kévin Vavelin <email@hidden>
    • Re: am I being called on the correct GCD queue?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Managing relationships by fetching related objects within subclass of NSManagedObject
  • Next by Date: Re: am I being called on the correct GCD queue?
  • Previous by thread: Re: Managing relationships by fetching related objects within subclass of NSManagedObject
  • Next by thread: Re: am I being called on the correct GCD queue?
  • Index(es):
    • Date
    • Thread