summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
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
2016-06-01implicit function declaration is the error we really want, not theTed Unangst
2016-05-20Delete the _SDA_BASE and _SDA2_BASE symbols: they're unnecessary inPhilip Guenther
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-04-15Document PROTO_NORMAL requires matching DEF_{,NON}STDPhilip Guenther
2016-04-15PROTO_NORMAL(pthread_cond_signal) requires DEF_STD(pthread_cond_signal)Philip Guenther
2016-04-15make pthread_barrier_wait behave more like it does on other platforms.Ted Unangst
2016-04-09replace 0xf57ff05f with dmb syJonathan Gray
2016-04-02Wrap <pthread.h> and <pthread_np.h> to eliminate PLT entries for internalPhilip Guenther
2016-04-02Eliminate the need to explicitly invoke syscalls via their _thread_sys_*Philip Guenther
2016-03-21Rename the system call sendsyslog2 to sendsyslog. Keep the old oneAlexander Bluhm
2016-03-20Prepare for future ld.so/libc bump: update <tib.h> with the definitionsPhilip Guenther
2016-03-10No point in keeping the threading support for vax, I guessPhilip Guenther
2016-01-27Replace the malloc spinlock with a mutex. This lock is held over system callsMark Kettenis
2015-12-10use geteuid to allow root to communicate with others.Ted Unangst
2015-11-10Split the intra-thread functionality from kill(2) into its own syscallPhilip Guenther