blob: f464200f4d7e88f0d2dd165fd07edc99892df804 [file] [log] [blame]
#include "pthread_impl.h"
int pthread_attr_setscope(pthread_attr_t* a, int scope) {
switch (scope) {
case PTHREAD_SCOPE_SYSTEM:
return 0;
case PTHREAD_SCOPE_PROCESS:
return ENOTSUP;
default:
return EINVAL;
}
}