summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
2020-10-12make fixed-sized fixed-value mib[] arrays be constTheo de Raadt
2020-04-06Update my email address.Paul Irofti
2020-02-06Instead of opting in to futexes on archs with atomics opt out on archsJonathan Gray
2019-11-01Remove duplicated header.Martin Pieuchot
2019-10-24Backout previous synch.h commit (r1.5, "Use process-private futexes to avoidStuart Henderson
2019-10-21Use process-private futexes to avoid the uvm_map lookup overhead.Martin Pieuchot
2019-03-03Wake all waiters when unlocking an rwlock. This fixes a hangVisa Hankala
2019-02-13New futex(2) based rwlock implementation based on the mutex code.Martin Pieuchot
2019-02-13Import the existing rwlock implementation for architectures that cannotMartin Pieuchot
2019-02-04add a pthread_get_name_np to match pthread_set_name_np.Ted Unangst
2019-01-29Rename 1-letter variables to be coherent with others futex(2) basedMartin Pieuchot
2019-01-12Move sigwait(3) from libpthread to libcJeremie Courreges-Anglas
2019-01-11mincore() is a relic from the past, exposing physical machine informationTheo de Raadt
2018-10-21Switch alpha to futex(2) based condvars, mutexes and semaphores.Visa Hankala
2018-10-15Switch powerpc to futex(2) based condvars, mutexes and semaphores.Visa Hankala
2018-09-24enable futex(2) based mutexes on armv7 and use futex based semaphores inJonathan Gray
2018-07-06Return EINVAL if pthread_barrier_init is called with count=0.Paul Irofti
2018-06-08New semaphore implementation making sem_post async-safe.Paul Irofti
2018-05-02syslog_r() expects a priority, not a faciliy. Use LOG_ERR for theAlexander Bluhm
2018-04-27pthread_join() must not return EINTRPhilip Guenther
2018-04-24Validate timespec and return ECANCELED when interrupted with SA_RESTART.Paul Irofti
2018-04-12(file missed from previous commit)Theo de Raadt
2018-02-11Start mapping thread stacks with MAP_STACK. mmap() currently ignoresTheo de Raadt
2018-02-10Shift top-of-stack down so that the random==0 case doesn't leave stackTheo de Raadt
2017-11-04Revert recent changes to unbreak ports/net/sambaJeremie Courreges-Anglas
2017-10-29Prefer <elf.h> to the non portable <sys/exec_elf.h>.Martin Pieuchot
2017-10-28Change pthread_cleanup_{push,pop} to macros that store the cleanup infoPhilip Guenther
2017-10-15Move the thread-related .h files to /usr/src/include/, since thePhilip Guenther
2017-09-05Move mutex, condvar, and thread-specific data routes, pthread_once, andPhilip Guenther
2017-08-01Use "volatile unsigned int" instead of _atomic_lock_t. The _atomic_lock_tMark Kettenis
2017-07-30disable post fork checks for now, too much turbulence in the airTed Unangst
2017-07-29not all the world is an i386. Back out breakage.Theo de Raadt
2017-07-29Use memory barriers to prevent pointer use before initialization.Paul Irofti
2017-07-27bad things can (and will) happen if a threaded program calls fork() andTed Unangst
2017-07-04Enable the use of futex(2) in librthread on mips64.Visa Hankala
2017-06-01Re-enabled futex based condvar & mutexes, they are not the cause ofMartin Pieuchot
2017-06-01New condvar introduced a regression with vmd(8), revert until it is found.Martin Pieuchot
2017-05-29Enable futex-based mutex and condvar.Martin Pieuchot
2017-05-29SPINLOCK_SPIN_HOOK is no more, define our own set of macros.Martin Pieuchot
2017-05-28Use membar_enter_after_atomic() and membar_exit_before_atomic().Martin Pieuchot
2017-05-27New mutex and condvar implementations based on futex(2).Martin Pieuchot
2017-02-27RELRO means the __{got,plt}_{start,end} symbols are superfluousPhilip Guenther
2017-01-11Add support for AArch64.Patrick Wildt
2017-01-05Now that all non-ARMv7 platforms are gone, tedu the legacy atomicPatrick Wildt
2016-09-04Get rid of ticket support, replace "struct _spinlock" with "_atomic_lock_t".Michal Mazurek
2016-09-03Remove _USING_TICKETS, it's defined as 0. No functional change.Michal Mazurek
2016-09-01delete wrong cvs $ tagsTheo de Raadt
2016-09-01bumpOtto Moerbeek
2016-09-01Less lock contention by using more pools for mult-threaded programs.Otto Moerbeek
2016-09-01retire sparcTed Unangst