See pthread_attr_getschedpolicy.html