Concurrency

Mr.Javed Multani
2 min readOct 2, 2020

The queue that the code in the dispatch block will run in. A queue is like (but not exactly the same as) a thread; code in different queues can run in parallel. Use dispatch_get_main_queue to get the queue for the main thread To create a new queue, which in turn creates a new thread, use dispatch_queue_create(“QUEUE_NAME”,DISPATCH_QUEUE_CONCURRENT).

--

--

Mr.Javed Multani

Software Engineer | Certified ScrumMaster® (CSM) | UX Researcher | Youtuber | Tech Writer