blob: 933bdb38dbf2ab5543524f8a03e1b5244ed33ee3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#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 ENOTSUP;
}
}
|