Sign in
cobalt
/
cobalt
/
3cd5432aaed8f14f27f66ade1b51aa71df939492
/
.
/
third_party
/
musl
/
src
/
thread
/
pthread_attr_setscope.c
blob: 46b520c0412c99a22d5e608ff4074a35301f4122 [
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
;
}
}