projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
59de695ddad9ebb4ad941574681829513fe321db
[oweals/musl.git]
/
src
/
thread
/
pthread_spin_trylock.c
1
#include "pthread_impl.h"
2
3
int pthread_spin_trylock(pthread_spinlock_t *s)
4
{
5
return -a_swap(s, 1) & EBUSY;
6
}