GCD (Grand Central Dispatch) iOS
Grand Central Dispatch (GCD) is Apple’s answer to multithreading. It is a lightweight framework for performing tasks synchronously or asynchronously in queues and handles CPU threads for you behind the scenes.
Related Topic: Concurrency
DispatchSemaphore provides an efficient implementation of a traditional counting semaphore, which can be used to control access to a resource across multiple execution contexts.