Sign in
cobalt
/
cobalt
/
286dd7840608e9cf78bc4a603ff2ec2ee39750c5
/
.
/
src
/
third_party
/
musl
/
src
/
thread
/
pthread_attr_setschedparam.c
blob: d4c1204fdc58b119db212380962eb8f593e5e2e8 [
file
] [
log
] [
blame
]
#include
"pthread_impl.h"
int
pthread_attr_setschedparam
(
pthread_attr_t
*
restrict a
,
const
struct
sched_param
*
restrict param
)
{
a
->
_a_prio
=
param
->
sched_priority
;
return
0
;
}