summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
2023-11-08libc, librthread: _twait: fully validate absolute timeoutScott Soule Cheloha
2023-08-20Add syscall stub for kqueue1(2)Visa Hankala
2023-02-12bump major after syscall removalTheo Buehler
2023-01-07Add {get,set}thrname(2) for putting thread names in the kernel andPhilip Guenther
2022-12-27spelling fixes; from paul tagliamonteJason McIntyre
2022-10-26Add waitid(2) syscall stub.Mark Kettenis
2022-09-09Add libc wrappers for the new sendmmsg and recvmmsg system calls.Moritz Buhl
2022-05-14librthread: validate timespec inputs with timespecisvalid(3)Scott Soule Cheloha
2021-09-17these files do not need sys/param.hTheo de Raadt
2021-06-13Save and restore errno around FUTEX_WAIT futex(2) operations. While thereMark Kettenis
2021-05-21The implementation of the FUTEX_WAIT option in futex(2) is subtly broken.Mark Kettenis
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