clang build fails in atomic spinlock/mutex failback code
clang doesn't use atomics in our build, thus falls back to spinlocks. Compilation fails.
Updated by Victor Julien about 10 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
commit 389c48f222f453ae63f5ed7bd177d16ac621c751 Author: Victor Julien <firstname.lastname@example.org> Date: Tue Nov 27 16:25:59 2012 +0100 Fix detection of spin locks supported. Clean up how we handle falling back to mutex if spinlocks aren't supported.
In addition, atomics are now also used where available:
commit 467f28e98eb4e6540749b1754aeea88a41a06759 Author: Victor Julien <email@example.com> Date: Tue Nov 27 18:55:28 2012 +0100 clang: make atomics work