On 10 Feb, 2013, at 8:21 AM, Kyle Sluder <k...@ksluder.com> wrote:

> On Feb 9, 2013, at 4:19 PM, Kyle Sluder <k...@ksluder.com> wrote:
> 
>> On Feb 9, 2013, at 12:11 PM, Matt Neuburg <m...@tidbits.com> wrote:
>> 
>>> If dispatch_get_current_queue() is deprecated
>> 
>> It's not deprecated in any currently non-NDA'd SDK.
> 
> Oh wait, 6.1 has shipped, hasn't it? Guess I need to update my SDK. (I've 
> been living on the Mac.)
> 
> Sadly the online docs haven't been updated to reflect this function's 
> deprecated mess, so I'm unsure if dispatch_queue_set_specific and friends 
> have also been deprecated.
> 

It was deprecated in 6.0 although as you say why it's not deprecated on OSX and 
why the docs haven't been updated to reflect it I don't know, from the header 
.. 

__OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_6,__MAC_NA,__IPHONE_4_0,__IPHONE_6_0)

The other methods aren't deprecated. 

There's a long and heated discussion about it here 
https://devforums.apple.com/message/733386#733386, I think there were a few 
valid use-cases for it but I do understand the explanation given by DAS (marked 
as answered in that thread) about why it didn't do what you might expect in 
some cases. If you want to check a queue is one you think it is then the 
set_specific is the right API. 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to