Sign in
fuchsia
/
fuchsia
/
b0ba8b34057f8cc0dd6819ccf0510c4690d82bfc
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
pthread
/
pthread_spin_trylock.c
blob: 3ffdeed7c1d998d5a3cac0d0ba3499464cbb89fb [
file
] [
log
] [
blame
]
#include
"threads_impl.h"
#include
<errno.h>
int
pthread_spin_trylock
(
pthread_spinlock_t
*
s
)
{
return
a_cas_shim
(
s
,
0
,
EBUSY
);
}