1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #include "pthread.h"
- #include "implement.h"
- int
- pthread_attr_getscope (const pthread_attr_t * attr, int *contentionscope)
- {
- #ifdef _POSIX_THREAD_PRIORITY_SCHEDULING
- *contentionscope = (*attr)->contentionscope;
- return 0;
- #else
- return ENOSYS;
- #endif
- }
|