add support for thread scheduling (POSIX TPS option)
[musl] / src / thread / pthread_attr_getscope.c
index c0167b6..b8dfd12 100644 (file)
@@ -2,5 +2,6 @@
 
 int pthread_attr_getscope(const pthread_attr_t *restrict a, int *restrict scope)
 {
 
 int pthread_attr_getscope(const pthread_attr_t *restrict a, int *restrict scope)
 {
+       *scope = PTHREAD_SCOPE_SYSTEM;
        return 0;
 }
        return 0;
 }