diff options
Diffstat (limited to 'src/thread/pthread_spin_trylock.c')
-rw-r--r-- | src/thread/pthread_spin_trylock.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_spin_trylock.c b/src/thread/pthread_spin_trylock.c index 5284fdac..45fc1ff5 100644 --- a/src/thread/pthread_spin_trylock.c +++ b/src/thread/pthread_spin_trylock.c @@ -5,3 +5,11 @@ int pthread_spin_trylock(pthread_spinlock_t *s) { return a_cas(s, 0, EBUSY); } + + +#ifdef TEST +int +main(void) { + return 0; +} +#endif |