Re: dispatch_get_current_queue


 



On Sep 6, 2018, at 8:51 AM, bartramf@... wrote:

Take a look at  `dispatchPrecondition` to test whether code is executing on a specific queue in a pattern like:

That  may be Swift-only … it doesn't show up in the 10.14 SDK headers. (Gerriet is using Obj-C, as indicated by his code snippet.)

—Jens

Join cocoa@apple-dev.groups.io to automatically receive all group messages.