[swift-corelibs-dev] qos_class_self()

Drew Crawford drew at sealedabstract.com
Sat Feb 6 19:39:27 CST 2016


On Darwin, we have the function qos_class_self(), that we use to find out the QOS of the current queue.

On Linux, this function seems not available.

Googling suggests qos_class_self comes via libpthread, which might not (?) be the libdispatch implementation on Linux?

Is there a way to portably create a queue with the current QOS?

Drew




More information about the swift-corelibs-dev mailing list