[libdispatch-dev] Replacement for dispatch_get_current_queue

Thomas Clement tclementdev at gmail.com
Fri Apr 19 14:13:37 PDT 2013

On 19 avr. 2013, at 22:48, Adam Ernst <adamjernst at fb.com> wrote:

> The design of dispatch_get_current_queue is clearly problematic, as its docs indicate. I've heard rumors the function will be deprecated and removed soon.
> We currently use it for queue affinity asserts (for which it serves ably). Is there any plan on what it might be replaced with for this purpose?

Take a look at dispatch_queue_get_specific and dispatch_queue_set_specific.


More information about the libdispatch-dev mailing list