projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make socketcall types common as they are same for all architectures
[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
}