#
afbcac68 |
|
22-Apr-2015 |
Rich Felker <dalias@aerifal.cx> |
minor optimization to pthread_spin_trylock use CAS instead of swap since it's lighter for most archs, and keep EBUSY in the lock value so that the old value obtained by CAS can be used directly as the return value for pthread_spin_trylock.
|
#
7b1fb0c5 |
|
22-Apr-2015 |
Rich Felker <dalias@aerifal.cx> |
optimize spin lock not to dirty cache line while spinning
|
#
2b71a4d1 |
|
16-Sep-2011 |
Rich Felker <dalias@aerifal.cx> |
fix more instances of old a_xchg (use new a_swap name)
|
#
4106cdcd |
|
28-Mar-2011 |
Rich Felker <dalias@aerifal.cx> |
revert some more spin optimizations that turned out to be pessimizations
|
#
117581ca |
|
28-Mar-2011 |
Rich Felker <dalias@aerifal.cx> |
fix broken spinlock due to miscompilation actually this trick also seems to have made the uncontended case slower.
|
#
c322fe4e |
|
24-Mar-2011 |
Rich Felker <dalias@aerifal.cx> |
optimize spinlock spin
|
#
0b44a031 |
|
11-Feb-2011 |
Rich Felker <dalias@aerifal.cx> |
initial check-in, version 0.5.0
|