shreyasva
shreyasva

Reputation: 13476

Get a GCD queue by name

Is it possible to obtain the dispatch_queue_t of the GCD queue -- that has already been created -- by name. I am dealing with code from a library the creates a queue with a name and I would like to dispatch_async tasks on it.

Upvotes: 1

Views: 767

Answers (1)

kevin
kevin

Reputation: 2071

This isn't possible. Dispatch queue names are not unique, and are for debugging purposes only.

Upvotes: 2

Related Questions