summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
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
2013-08-26Use %r27 as the thread control block pointer, allowing for __get_tcb() callsMiod Vallat
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-08-06Remove support for COMPILER_VERSION == gcc2.Miod Vallat
2013-07-30Free the list used for tracking the pthread_{get,set}specific()Philip Guenther
2013-07-30Stop overwriting the dying thread's struct thread as its tid member mayPhilip Guenther
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-07-05VAX ELF userland bits. Consists mostly of register prefix additions.Miod Vallat
2013-06-25nmask and omask only used on ELF. Noted by todd@Philip Guenther
2013-06-21The bind lock must only be grabbed with all signals masked.Philip Guenther
2013-06-21Move the declaration of _thread_sys_sigprocmask() to rthread.hPhilip Guenther
2013-06-17Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options,Philip Guenther
2013-06-04fix typo in commentMiod Vallat
2013-06-03unbreakMiod Vallat
2013-06-03Despite tedu's efforts, fix ERRNOPTR_OFFSET which has changed due to recentMiod Vallat
2013-06-03THE MACHINE DEPENDENT CERROR CODE HAS HARD CODED OFFSETS INTO PTHREAD_T!Ted Unangst
2013-06-02Make arm compile again. -mojMats O Jansson
2013-06-01something's not quite right yet. ticket locks result in more CPU usageTed Unangst
2013-06-01cleanup and consolidate the spinlock_lock (what a name!) code.Ted Unangst
2013-06-01fix wrong fn name in debugTed Unangst
2013-06-01Add utrace(2), a system call allowing for userland to send its own ktraceMiod Vallat
2013-05-06If the lock is contended, such that the 'sc' fails, then we need toPhilip Guenther
2013-04-29Extend P_SIGSUSPEND handling in userret() to properly restore theMatthew Dempsky
2013-04-06remove more references to kern.rthreads sysctl.Ted Unangst
2013-04-06fix race when exiting a detached thread. observed by and ok guentherTed Unangst