Concurrency
GCD basics
What is GCD (Grand Central Dispatch), and why do you hand work to a queue instead of creating threads yourself?
GCD basics
What is GCD (Grand Central Dispatch), and why do you hand work to a queue instead of creating threads yourself?
ConcurrencyMultiple choiceIntro
Which of the following statements about sync/async and serial/concurrent queues are corre…
#dispatch-queue #serial #concurrent
ConcurrencyShort answerExpert
Design a MyQueue of your own without GCD. Submitting a closure with async(_:) should run …
#thread-pool #serial #concurrent
ConcurrencyMultiple choiceAdvanced
You call this function, which takes a GCD queue, from the main thread. About how many sec…
#gcd #serial #concurrent
ConcurrencyMultiple choiceBasics
What does this GCD code print? And does every call to queue.async create a new thread? …
#gcd #thread-pool #concurrent