Sign in
mojo
/
mojo-tools
/
1209a8232086824720a8a2fc3a1d8143a0653fbb
/
.
/
fusl
/
src
/
thread
/
pthread_spin_trylock.c
blob: c521e809fd1a0c0d9a5c7206d143b21545a3d1fc [
file
] [
log
] [
blame
]
#include
"pthread_impl.h"
#include
<errno.h>
int
pthread_spin_trylock
(
pthread_spinlock_t
*
s
)
{
return
a_cas
(
s
,
0
,
EBUSY
);
}