Willy Tarreau 88ac59be4d MINOR: threads: use faster locks for the spin locks
The spin locks used to rely on W locks, which involve a loop waiting
for readers to leave, and this doesn't happen here. It's more efficient
to use S locks instead, which are also mutually exclusive and do not
have this loop. This saves one test per spinlock and a few tens of
bytes allowing certain functions to be inlined.
2017-11-06 11:20:11 +01:00
..
2017-06-02 11:06:36 +02:00
2017-11-03 15:04:09 +01:00
2015-10-12 20:58:51 +02:00
2017-04-03 09:27:49 +02:00