3 ms·
Grand Central Dispatch (the OS-level framework that handles these QoS classes) elevates the priority of a queue if there is high priority work waiting on low pr
by ejdyksen 5y ago
Grand Central Dispatch (the OS-level framework that handles these QoS classes) elevates the priority of a queue if there is high priority work waiting on low priority work to finish.
https://developer.apple.com/library/archive/documentation/Performance/Conceptual/EnergyGuide-iOS/PrioritizeWorkWithQoS.html#//apple_ref/doc/uid/TP40015243-CH39-SW44 https://developer.apple.com/library/archive/documentation/Pe...
- astrange 5y agoImportantly it doesn't do this for dispatch_async/dispatch_semaphore/dispatch_block_wait.