summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
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
2015-11-01delete old lint ARGSUSED commentsPhilip Guenther
2015-10-23Merge the sigaction() and sigprocmask() overloads/wrappers from libpthreadPhilip Guenther
2015-10-18ld.so no longer needs or uses a bind lock, so stop setting it. ThisPhilip Guenther
2015-10-15Handle F_ISATTY in the fcntl() stub as wellTheo de Raadt
2015-05-19Instead of testing for __ELF__ and/or vax, leave out the bits for interfacingPhilip Guenther
2015-05-12Put the right number of leading underscores in ___cerror and __cerror, forMiod Vallat
2015-05-10In the child after fork, the dl lock has to be forced as its inner spinlockPhilip Guenther
2015-04-29Delete the duplicated sched_{policy,param} members from the internal structPhilip Guenther
2015-04-07Make pthread_atfork() track the DSO that called it like atexit() does,Philip Guenther
2015-01-24Add back <sys/param.h>; it's needed for MACHINE_STACK_GROWS_UP.Mark Kettenis
2015-01-16Move to the <limits.h> universe.Theo de Raadt
2014-12-08avoid void arithmetic. from david carlierTed Unangst
2014-11-16Don't restart syscalls on SIGTHR. When a cancellation happens, we need toPhilip Guenther
2014-11-16Don't assume __thrsigdivert() autorestarts on EINTR. This lets us check forPhilip Guenther
2014-08-31accept4() should be a cancellation point.Philip Guenther
2014-08-31Declare and document getthrid()Philip Guenther
2014-08-09Only need <stdint.h> and not <inttypes.h> herePhilip Guenther
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-07-10__tfork_thread is in libc, so move the manpage over tooPhilip Guenther
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-07-01Use a flag on the pthread_t to indicate that the thread's stack wasPhilip Guenther
2014-06-27Fix mmap() flag usage: explicitly specify MAP_PRIVATE and drop uselessMatthew Dempsky
2014-06-23Remove unintended statement from my copyright blockPhilip Guenther
2014-05-02- Adjust pthread_stackseg_np to return the page aligned addressable stackKurt Miller
2014-04-18It's been a quarter century: we can assume volatile is present with that name.Philip Guenther
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
2014-03-16lint is dead (long live the lint!), so stop using it as a cpp conditionalPhilip Guenther
2013-12-18Provide a random stackgrap on pthread frames. Use _STACKALIGNBYTES toTheo de Raadt
2013-12-12Fix static linking of libpthread: have crt0 invoke __init_tcb() if it'sPhilip Guenther
2013-12-11revert to return EPERM for sem_init pshared until it really worksTed Unangst
2013-12-08Reduce the random name length when sem_init is called with psharedFederico G. Schwindt
2013-11-29Don't try to reuse _initial_thread in the fork() wrapper, as thePhilip Guenther
2013-11-26Remove unused var and include. Fix errno values as per spec.Federico G. Schwindt
2013-11-22don't use PAGE_SIZE, it is not portable. Ted can polish this afterTheo de Raadt
2013-11-21remove dead assignment as reported by llvm.Federico G. Schwindt
2013-11-21handle the fourth vararg value to sem_openTed Unangst
2013-11-20shared semaphore fixes. first, eliminate the sem inside a sem indirection.Ted Unangst
2013-11-20oops, forgot about unnamed shared semsTed Unangst
2013-11-20zhuk and i have slightly different styles. unify and consistifyTed Unangst
2013-11-18interprocess semaphores ala sem_open. mostly following in the patternTed Unangst
2013-11-13use sysctl vm.psstrings to calculate stack bounds, rather than USRSTACK.Theo de Raadt
2013-11-02remove unnecessary spinlock that slowed down pthread_getspecific.Ted Unangst
2013-10-23In pthread_kill()/pthread_cancel(), hold the target thread's flagsPhilip Guenther
2013-10-04_thread_sys_tcdrain() doesn't exist and isn't usedPhilip Guenther
2013-08-28Following the ARM manuals and cookbooks, ldrex/strex don't have implicitPatrick Wildt