summaryrefslogtreecommitdiff
path: root/lib/librthread/rthread.h
AgeCommit message (Expand)Author
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
2005-12-30prototype all the thread syscalls in rthread.h for now.Ted Unangst
2005-12-22more consistently use _rthread prefix for all not meant to be exportedTed Unangst
2005-12-19Fix hppa ldcw alignment issue.Marco Peereboom
2005-12-19update copyright to 2005Ted Unangst
2005-12-19add pthread_get/set_concurrency (useless for now)Ted Unangst
2005-12-14add pthread_cleanup_push and pthread_cleanup_popTed Unangst
2005-12-14add bits for pthread_cancel. we don't really have cancellation points yetTed Unangst
2005-12-14change keys to use table instead of list, makes a sane destructor implementationTed Unangst
2005-12-13make the mutex unlock and sleep in pthread_cond_wait properly atomicTed Unangst