summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Oops, on a.out architectures __cerror() is called _cerror(). Fixmatthew2012-08-151-3/+9
* Add explicit references from rthread.o to all of the weak symbolmatthew2012-08-131-1/+71
* __tfork() needs to set the stack address of the new thread in the kernel,guenther2012-06-211-6/+4
* pthread_setcanceltype() shouldn't be a cancelation pointguenther2012-04-101-2/+1
* Remove pthread_suspend* and related functions. This is part of thekurt2012-03-221-2/+1
* Permit recursive locking in _rthread_dl_lock(), as an so's destructorguenther2012-03-201-2/+42
* Force sched_yield() to be resolved before calling dlctl(DL_SET*LCK) withguenther2012-03-141-1/+2
* Add sem_timewait() and fix sem_wait()'s handling of signals, soguenther2012-03-031-5/+6
* for readability, put the label on it's own line.fgsch2012-03-021-2/+3
* sched_yield() is the standard name while pthread_yield() is theguenther2012-02-241-2/+2
* Use a form of designated initializer that works with gcc2guenther2012-02-191-2/+7
* Fix previous commit: _rthread_init() was static.guenther2012-02-181-2/+2
* Fix the handling of the stackaddr, stacksize, and guardsize attributes:guenther2012-02-181-8/+18
* Set __isthreaded in pthread_create() instead of _rthread_init() such that itkettenis2012-02-161-3/+4
* Reimplement mutexes, condvars, and rwlocks to eliminate bugs,guenther2012-01-171-16/+43
* pthread_self() may be much cheaper and never more expensive than getthrid()guenther2011-12-281-2/+3
* On failure, pthread_kill() should return the errno, not -1guenther2011-12-271-2/+2
* Mark sigthr()'s sig argument as __unusedguenther2011-12-051-2/+2
* Implement cancelation for the basic syscall cancelation points,guenther2011-12-051-4/+40
* Oh yeah, with TLS-lite we can get the thread handle without walking theguenther2011-11-091-23/+2
* Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includesguenther2011-11-061-9/+2
* Use __tfork, __get_tcb, and __set_tcb to have a real TCB and per-threadguenther2011-10-171-29/+60
* Convert thrsleep() to an absolute timeout with clockid to eliminate aguenther2009-11-271-2/+2
* Change threxit() to take a pointer to a pid_t to zero out from theguenther2009-11-271-22/+38
* Fix a race in the reaper discovered by Tobias Ulmer. kevents are identified by pid,tedu2009-02-201-2/+3
* use calloc() instead of malloc() and memset()kevlo2008-10-131-5/+3
* Match libpthread's behavior and make pthread_join(NULL, whatever) failguenther2008-08-141-2/+4
* Fix 5771/library: in pthread_exit(), delay the call to _sem_post() thatguenther2008-08-141-4/+4
* If the initial thread calls pthread_exit(), don't overwrite its threadguenther2008-08-141-3/+5
* - Add fork/vfork wrapper functions to reset state in the child process.kurt2008-06-051-18/+23
* Register the locking hooks with ld.so.art2007-05-181-1/+45
* Initialize thread debug in _rthread_init. The debug verbositymarc2006-01-061-1/+3
* guess it's time to remove the init printf; sturm found a port thattedu2006-01-061-3/+1
* In pthread_join(), check if we create a deadlock trying to joinotto2006-01-051-7/+9
* move malloc lock to libc interface filetedu2006-01-051-23/+1
* add -Wstrict-prototypes -Wmissing-prototypes -Wsign-comparemarc2006-01-051-4/+5
* Cleanup struct pthread and stack after thread exits. This version doesotto2006-01-041-20/+73
* allow threads to be created in a detached statemarc2006-01-041-5/+13
* thread stack handling changes. Add guard zones and allow stackmarc2006-01-011-36/+7
* Implement suspend/resume and creation of initially suspended threads.otto2005-12-311-6/+16
* Remove exitinng thread from the list of threads. ok tedu@otto2005-12-301-1/+4
* use queue.h macros for thread house keeping; make some vars non-staticotto2005-12-301-20/+19
* __aligned__ isn't really necessary on the struct, an aligned membertedu2005-12-301-2/+2
* prototype all the thread syscalls in rthread.h for now.tedu2005-12-301-3/+1
* Put the existing _np functions into separate file; introduceotto2005-12-291-26/+3
* implement pthread_main_np(); ok tedu@otto2005-12-291-1/+13
* for reasons that do not make any sense whatsoever, _rthread_alloc_stacktedu2005-12-231-9/+9
* more consistently use _rthread prefix for all not meant to be exportedtedu2005-12-221-15/+15
* change init code to handle failure. (actually, make it impossible to fail,tedu2005-12-221-13/+14
* Bad commit, breaks hppa64. Prompted by deraadt@marco2005-12-221-3/+2