summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_spin.c
AgeCommit message (Collapse)Author
2020-02-05Retire ifdef ERRORCHECK in pthread(3)kamil
It is enabled unconditionally since 2003 and used only for rwlocks and spinlocks. LLVM sanitizers make assumptions that these checks are enabled always.
2020-01-31Refactor libpthread checks for invalid argumentskamil
Switch from manual functions to pthread__error().
2012-08-16Add a pthread__smt_wake and add support for it on arm along withmatt
pthread__smt_pause. These are implemented using the ARM instructions SEV (wake) and WFE (pause). These are treated as NOPs on ARM CPUs that don't support them.
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-01-05machine/lock.h, not sys/lock.had
2007-11-13For PR bin/37347:ad
- Override __libc_thr_init() instead of using our own constructor. - Add pthread__getenv() and use instead of getenv(). This is used before we are up and running and unfortunatley getenv() takes locks. Other changes: - Cache the spinlock vectors in pthread__st. Internal spinlock operations now take 1 function call instead of 3 (i386). - Use pthread__self() internally, not pthread_self(). - Use __attribute__ ((visibility("hidden"))) in some places. - Kill PTHREAD_MAIN_DEBUG.
2007-09-10Merge nick-csl-alignment.skrll
2007-08-16Trim fat off libpthread internal spinlock operations. Makes a mesurablead
improvement across the board.