EBUSY error code is 16

This commit is contained in:
iceman1001 2025-06-19 17:50:19 +02:00
parent b6d826410d
commit 570b1fcc40

View file

@ -43,7 +43,7 @@ static inline int pthread_spin_trylock(pthread_spinlock_t *lock) {
if (__sync_bool_compare_and_swap(lock, 0, 1)) {
return 0;
}
return EBUSY;
return 16; // EBUSY;
}
static inline int pthread_spin_unlock(pthread_spinlock_t *lock) {