about summary refs log tree commit diff
path: root/src/thread/pthread_spin_trylock.c
Commit message (Collapse)AuthorAgeFilesLines
* minor optimization to pthread_spin_trylockRich Felker2015-04-221-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.
* fix more instances of old a_xchg (use new a_swap name)Rich Felker2011-09-161-1/+1
|
* revert some more spin optimizations that turned out to be pessimizationsRich Felker2011-03-281-2/+1
|
* optimize contended case for pthread_spin_trylockRich Felker2011-03-241-1/+2
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+6