Sign in
fuchsia
/
zircon
/
f3e2126c8a8b2ff64ca6cb7818f0606ceb5f889a
/
.
/
third_party
/
ulib
/
musl
/
pthread
/
pthread_cond_init.c
blob: e71cc6e6b724278660c77831a08927a5c13bc29f [
file
] [
log
] [
blame
]
#include
"pthread_impl.h"
int
pthread_cond_init
(
pthread_cond_t
*
restrict c
,
const
pthread_condattr_t
*
restrict a
)
{
*
c
=
(
pthread_cond_t
){};
if
(
a
)
{
c
->
_c_clock
=
a
->
__attr
&
0x7fffffff
;
}
return
0
;
}