summaryrefslogtreecommitdiffstats
path: root/lib/librthread
AgeCommit message (Expand)AuthorFilesLines
2020-10-12make fixed-sized fixed-value mib[] arrays be constderaadt1-4/+2
2020-04-06Update my email address.pirofti4-8/+8
2020-02-06Instead of opting in to futexes on archs with atomics opt out on archsjsg1-10/+7
2019-11-01Remove duplicated header.mpi1-2/+1
2019-10-24Backout previous synch.h commit (r1.5, "Use process-private futexes to avoidsthen1-5/+12
2019-10-21Use process-private futexes to avoid the uvm_map lookup overhead.mpi1-12/+5
2019-03-03Wake all waiters when unlocking an rwlock. This fixes a hangvisa1-2/+2
2019-02-13New futex(2) based rwlock implementation based on the mutex code.mpi3-147/+161
2019-02-13Import the existing rwlock implementation for architectures that cannotmpi1-0/+260
2019-02-04add a pthread_get_name_np to match pthread_set_name_np.tedu4-3/+11
2019-01-29Rename 1-letter variables to be coherent with others futex(2) basedmpi1-29/+25
2019-01-12Move sigwait(3) from libpthread to libcjca3-78/+1
2019-01-11mincore() is a relic from the past, exposing physical machine informationderaadt1-2/+2
2018-10-21Switch alpha to futex(2) based condvars, mutexes and semaphores.visa1-5/+6
2018-10-15Switch powerpc to futex(2) based condvars, mutexes and semaphores.visa1-2/+2
2018-09-24enable futex(2) based mutexes on armv7 and use futex based semaphores injsg1-3/+3
2018-07-06Return EINVAL if pthread_barrier_init is called with count=0.pirofti1-1/+4
2018-06-08New semaphore implementation making sem_post async-safe.pirofti4-59/+558
2018-05-02syslog_r() expects a priority, not a faciliy. Use LOG_ERR for thebluhm1-4/+4
2018-04-27pthread_join() must not return EINTRguenther1-9/+13
2018-04-24Validate timespec and return ECANCELED when interrupted with SA_RESTART.pirofti2-12/+13
2018-04-12(file missed from previous commit)deraadt1-4/+48
2018-02-11Start mapping thread stacks with MAP_STACK. mmap() currently ignoresderaadt1-2/+2
2018-02-10Shift top-of-stack down so that the random==0 case doesn't leave stackderaadt1-3/+3
2017-11-04Revert recent changes to unbreak ports/net/sambajca4-3/+37
2017-10-29Prefer <elf.h> to the non portable <sys/exec_elf.h>.mpi2-4/+4
2017-10-28Change pthread_cleanup_{push,pop} to macros that store the cleanup infoguenther4-37/+3
2017-10-15Move the thread-related .h files to /usr/src/include/, since theguenther1-2/+1
2017-09-05Move mutex, condvar, and thread-specific data routes, pthread_once, andguenther34-2994/+93
2017-08-01Use "volatile unsigned int" instead of _atomic_lock_t. The _atomic_lock_tkettenis1-3/+3
2017-07-30disable post fork checks for now, too much turbulence in the airtedu1-2/+2
2017-07-29not all the world is an i386. Back out breakage.deraadt4-13/+4
2017-07-29Use memory barriers to prevent pointer use before initialization.pirofti4-4/+13
2017-07-27bad things can (and will) happen if a threaded program calls fork() andtedu2-2/+10
2017-07-04Enable the use of futex(2) in librthread on mips64.visa1-2/+3
2017-06-01Re-enabled futex based condvar & mutexes, they are not the cause ofmpi1-2/+9
2017-06-01New condvar introduced a regression with vmd(8), revert until it is found.mpi1-9/+2
2017-05-29Enable futex-based mutex and condvar.mpi1-2/+9
2017-05-29SPINLOCK_SPIN_HOOK is no more, define our own set of macros.mpi2-7/+11
2017-05-28Use membar_enter_after_atomic() and membar_exit_before_atomic().mpi1-5/+5
2017-05-27New mutex and condvar implementations based on futex(2).mpi5-8/+602
2017-02-27RELRO means the __{got,plt}_{start,end} symbols are superfluousguenther1-6/+0
2017-01-11Add support for AArch64.patrick1-0/+49
2017-01-05Now that all non-ARMv7 platforms are gone, tedu the legacy atomicpatrick1-10/+3
2016-09-04Get rid of ticket support, replace "struct _spinlock" with "_atomic_lock_t".akfaew11-82/+64
2016-09-03Remove _USING_TICKETS, it's defined as 0. No functional change.akfaew6-25/+19
2016-09-01delete wrong cvs $ tagsderaadt3-6/+3
2016-09-01bumpotto1-1/+1
2016-09-01Less lock contention by using more pools for mult-threaded programs.otto4-24/+45
2016-09-01retire sparctedu1-41/+0