upvote
How is the QoS communicated to the scheduler? Is there a mark on the binary or does the code do it at thread startup?
reply
The Apple software stack makes heavy use of thread pools via libdispatch. Individual work items are tagged with QoS, which influences which thread picks up the work item from the queue.
reply
It’s done in code.
reply