source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/thread/pthread_spin_trylock.c@
340
Last change on this file since 340 was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 126 bytes |
Rev | Line | |
---|---|---|
[337] | 1 | #include "pthread_impl.h" |
2 | #include <errno.h> | |
3 | ||
4 | int pthread_spin_trylock(pthread_spinlock_t *s) | |
5 | { | |
6 | return a_cas(s, 0, EBUSY); | |
7 | } |
Note:
See TracBrowser
for help on using the repository browser.