Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
76d7cfb7e677eb0fcacdabf67514b51e777269dd
/
.
/
src
/
thread
/
pthread_attr_setinheritsched.c
blob: c91d8f83cc749acb79b5d9259f97432f54805175 [
file
] [
log
] [
blame
]
Rich Felker
1e21e78
2012-11-11 15:38:04 -0500
[
diff
] [
blame
]
1
#include
"pthread_impl.h"
2
3
int
pthread_attr_setinheritsched
(
pthread_attr_t
*
a
,
int
inherit
)
4
{
5
if
(
inherit
>
1U
)
return
EINVAL
;
6
a
->
_a_sched
=
inherit
;
7
return
0
;
8
}