19 Apr
2013
19 Apr
'13
9:13 p.m.
On 19 avr. 2013, at 22:48, Adam Ernst <adamjernst@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. Thomas