summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread.h
AgeCommit message (Expand)Author
2017-05-27New mutex and condvar implementations based on futex(2).Martin Pieuchot
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-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-04-15make pthread_barrier_wait behave more like it does on other platforms.Ted Unangst
2016-04-02Eliminate the need to explicitly invoke syscalls via their _thread_sys_*Philip Guenther
2016-01-27Replace the malloc spinlock with a mutex. This lock is held over system callsMark Kettenis
2015-11-10Split the intra-thread functionality from kill(2) into its own syscallPhilip Guenther
2015-10-18ld.so no longer needs or uses a bind lock, so stop setting it. ThisPhilip Guenther
2015-05-19Instead of testing for __ELF__ and/or vax, leave out the bits for interfacingPhilip Guenther
2015-04-29Delete the duplicated sched_{policy,param} members from the internal structPhilip Guenther
2014-08-31Declare and document getthrid()Philip Guenther
2014-07-01Use a flag on the pthread_t to indicate that the thread's stack wasPhilip Guenther
2013-11-29Don't try to reuse _initial_thread in the fork() wrapper, as thePhilip Guenther
2013-11-20shared semaphore fixes. first, eliminate the sem inside a sem indirection.Ted Unangst
2013-11-18interprocess semaphores ala sem_open. mostly following in the patternTed Unangst
2013-06-21Move the declaration of _thread_sys_sigprocmask() to rthread.hPhilip Guenther
2013-06-03THE MACHINE DEPENDENT CERROR CODE HAS HARD CODED OFFSETS INTO PTHREAD_T!Ted Unangst
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-03-24SEM_VALUE_MAX belongs in <limits.h> (via sys/syslimits.h)Philip Guenther
2012-08-22We want to check that the dynamic linker is available at run-time, soMatthew Dempsky
2012-05-03Add pthread spinlock support.Paul Irofti
2012-04-11Add pthread barrier support.Paul Irofti
2012-03-22Remove pthread_suspend* and related functions. This is part of theKurt Miller
2012-03-03Add sem_timewait() and fix sem_wait()'s handling of signals, soPhilip Guenthe
2012-02-23Add pthread_condattr_{get,set}clock(), requested by aja@Philip Guenthe
2012-02-18Fix previous commit: _rthread_init() was static.Philip Guenthe
2012-02-18Fix the handling of the stackaddr, stacksize, and guardsize attributes:Philip Guenthe
2012-02-15Add pthread_rwlockattr_{get,set}pshared() andPhilip Guenthe
2012-01-17Reimplement mutexes, condvars, and rwlocks to eliminate bugs,Philip Guenthe
2011-12-21Split out the pthread_mutexattr_* functions from rthread_sync.c toPhilip Guenthe
2011-12-05Implement cancelation for the basic syscall cancelation points,Philip Guenthe
2011-11-06Copy support for sched_get_priority_{min,max} from libpthread.Philip Guenthe
2011-11-06Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includesPhilip Guenthe
2011-10-17Use __tfork, __get_tcb, and __set_tcb to have a real TCB and per-threadPhilip Guenthe
2009-11-27Convert thrsleep() to an absolute timeout with clockid to eliminate aPhilip Guenthe
2009-11-27Convert thrsigdivert to (almost) be sigtimedwait by adding siginfo_tPhilip Guenthe
2009-11-27Change threxit() to take a pointer to a pid_t to zero out from thePhilip Guenthe
2009-10-21Add f*lockfile() routines to librthreadPhilip Guenthe
2009-04-21Increase default thread stack size to 256K on 32bit archs and 512K onKurt Miller
2009-02-20thrsigdivert() takes a sigset_t, not a pointer to one. Detected byPhilip Guenthe
2008-10-03Make sigwait() work correctly. In particular, it'll work when thePhilip Guenthe
2008-06-05- Add fork/vfork wrapper functions to reset state in the child process.Kurt Miller
2006-01-05add -Wstrict-prototypes -Wmissing-prototypes -Wsign-compareMarco S Hyman
2006-01-04Cleanup struct pthread and stack after thread exits. This version doesOtto Moerbeek
2006-01-01thread stack handling changes. Add guard zones and allow stackMarco S Hyman
2005-12-31Add "print debug foo" function safe to use in signal handlers, example:Marco S Hyman
2005-12-31Implement suspend/resume and creation of initially suspended threads.Otto Moerbeek
2005-12-30use queue.h macros for thread house keeping; make some vars non-staticOtto Moerbeek