Removing spinlock completely #977

pull/1056/head
René Cannaò 9 years ago
parent 76a17a8e00
commit 83053b39f3

@ -1,3 +1,7 @@
#ifdef PROXYSQL_USE_SPINLOCK
// PROXYSQL_USE_SPINLOCK is NOT define
// spinlock have been removed in 1.4.1 due to issue #977 , to compile in ARM
// this file is kept for reference, and will be completely removed in future
#ifndef PROXYSQL_ATOMIC
#define PROXYSQL_ATOMIC
/*
@ -75,3 +79,4 @@ static inline void spin_rdunlock(rwlock_t *l) {
#endif /* PROXYSQL_ATOMIC */
#endif // PROXYSQL_USE_SPINLOCK

Loading…
Cancel
Save