mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
222 B
13 lines
222 B
#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;
|
|
}
|
|
}
|
|
|