summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread_np.c
AgeCommit message (Expand)Author
2023-01-07Add {get,set}thrname(2) for putting thread names in the kernel andPhilip Guenther
2021-09-17these files do not need sys/param.hTheo de Raadt
2020-10-12make fixed-sized fixed-value mib[] arrays be constTheo de Raadt
2019-02-04add a pthread_get_name_np to match pthread_set_name_np.Ted Unangst
2017-09-05Move mutex, condvar, and thread-specific data routes, pthread_once, andPhilip Guenther
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-04-02Eliminate the need to explicitly invoke syscalls via their _thread_sys_*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-08-09Only need <stdint.h> and not <inttypes.h> herePhilip 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-05-02- Adjust pthread_stackseg_np to return the page aligned addressable stackKurt Miller
2013-11-29Don't try to reuse _initial_thread in the fork() wrapper, as thePhilip Guenther
2013-11-13use sysctl vm.psstrings to calculate stack bounds, rather than USRSTACK.Theo de Raadt
2013-03-31- Don't include guard pages in the stack size.Kurt Miller
2012-02-18Fix the handling of the stackaddr, stacksize, and guardsize attributes:Philip Guenthe
2011-12-28pthread_self() may be much cheaper and never more expensive than getthrid()Philip Guenthe
2007-07-08Report the correct stack size and top for the primordial thread inKurt Miller
2006-04-12make rthreads compile againHenning Brauer
2006-01-01Nicer implementation of pthread_main_np(), which avoids the spinlock.Otto Moerbeek
2005-12-30use queue.h macros for thread house keeping; make some vars non-staticOtto Moerbeek
2005-12-29Put the existing _np functions into separate file; introduceOtto Moerbeek