From 570b1fcc40d957ccc1066a03e485408436a51d5d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 19 Jun 2025 17:50:19 +0200 Subject: [PATCH] EBUSY error code is 16 --- client/src/pthread_spin_lock_shim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pthread_spin_lock_shim.h b/client/src/pthread_spin_lock_shim.h index 16d1dc09d..131598b02 100644 --- a/client/src/pthread_spin_lock_shim.h +++ b/client/src/pthread_spin_lock_shim.h @@ -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) {