Age | Commit message (Collapse) | Author | Lines | |
---|---|---|---|---|
2015-04-22 | minor optimization to pthread_spin_trylock | Rich Felker | -1/+2 | |
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. | ||||
2015-04-22 | optimize spin lock not to dirty cache line while spinning | Rich Felker | -1/+1 | |
2011-09-16 | fix more instances of old a_xchg (use new a_swap name) | Rich Felker | -1/+1 | |
2011-03-28 | revert some more spin optimizations that turned out to be pessimizations | Rich Felker | -1/+1 | |
2011-03-28 | fix broken spinlock due to miscompilation | Rich Felker | -1/+1 | |
actually this trick also seems to have made the uncontended case slower. | ||||
2011-03-24 | optimize spinlock spin | Rich Felker | -1/+1 | |
2011-02-12 | initial check-in, version 0.5.0v0.5.0 | Rich Felker | -0/+7 | |