See pthread_attr_getscope.html