Sign in
mojo
/
mojo-tools
/
862d13b6f591fb83034e80ed5a8c59fb9d0b7b56
/
.
/
fusl
/
src
/
thread
/
pthread_attr_setscope.c
blob: 3ea46d88734b5948f4c9a588cb44d42638f59caf [
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
;
}
}