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