summaryrefslogtreecommitdiffstats
path: root/lib/librthread
AgeCommit message (Expand)AuthorFilesLines
2012-02-19Use a form of designated initializer that works with gcc2guenther1-2/+7
2012-02-19Validate in pthread_attr_set{scope,sched{param,policy},inheritsched}()guenther2-3/+16
2012-02-18Fix previous commit: _rthread_init() was static.guenther3-15/+22
2012-02-18Before using _thread_pagesize, make sure _rthread_init() has been calledguenther1-1/+5
2012-02-18id tag.fgsch1-0/+1
2012-02-18Fix the handling of the stackaddr, stacksize, and guardsize attributes:guenther5-99/+139
2012-02-18Missing cerror bits.miod1-0/+55
2012-02-18Work around compiler confusion while building rthread.o on vax.miod1-2/+6
2012-02-18Initialize the scope, policy, and inherit members in pthread_attr_init()guenther1-1/+4
2012-02-17Allow librthread to build on mips64.miod2-11/+72
2012-02-16Set __isthreaded in pthread_create() instead of _rthread_init() such that itkettenis1-3/+4
2012-02-15Nothing important, just switching from pthreads to rthreadsguenther1-2/+7
2012-02-15Bump major to be current libpthread major +1, so we can switch over cleanly.guenther1-1/+1
2012-02-15Add pthread_rwlockattr_{get,set}pshared() andguenther3-4/+54
2012-01-25@($*& Merging patches resulted in a line being duplicated instead ofguenther1-2/+1
2012-01-17Reimplement mutexes, condvars, and rwlocks to eliminate bugs,guenther22-307/+720
2012-01-04Fix $OpenBSD tagguenther1-1/+1
2012-01-04Add some sanity checks, set errno accordingly to POSIX and add the namedmpi1-4/+56
2012-01-04Split out the semaphore functions.mpi3-180/+207
2012-01-04Delete some parameter names and extra semicolons that slipped throughguenther1-5/+5
2011-12-28pthread_self() may be much cheaper and never more expensive than getthrid()guenther3-11/+12
2011-12-27Don't let applications block, wait for, or handle SIGTHR, as theguenther2-4/+39
2011-12-27On failure, pthread_kill() should return the errno, not -1guenther1-2/+2
2011-12-24formatting errors, found using freebsd's "igor";jmc1-5/+5
2011-12-22Add pthread_mutex_{get,set}prioceiling()guenther2-2/+57
2011-12-21Split out the pthread_rwlock* and pthread_once() functions from rthread_sync.cguenther5-277/+350
2011-12-21Split out the pthread_mutexattr_* functions from rthread_sync.c toguenther4-48/+119
2011-12-05Mark sigthr()'s sig argument as __unusedguenther1-2/+2
2011-12-05Implement cancelation for the basic syscall cancelation points,guenther6-201/+583
2011-11-27Set the initfirst and nodelete flags on the shared library, in anticipationguenther1-1/+2
2011-11-09Add the __cerror asm bits for per-thread errno support for powerpc.kettenis1-0/+41
2011-11-09Oh yeah, with TLS-lite we can get the thread handle without walking theguenther1-23/+2
2011-11-08Add the __cerror asm bits for per-thread errno support for hppa.kettenis1-0/+33
2011-11-08Include <stddef.h> to make sure offsetof() is defined.kettenis1-0/+2
2011-11-06Copy support for sched_get_priority_{min,max} from libpthread.guenther3-3/+50
2011-11-06Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includesguenther12-85/+14
2011-10-19Remove some blatant lies. Provide a variant 1 archs with a defaultguenther1-3/+5
2011-10-17Use __tfork, __get_tcb, and __set_tcb to have a real TCB and per-threadguenther27-101/+876
2011-10-13Deal with the horror that is gcc asm constraints by copying theguenther2-8/+4
2011-10-13Increase the stack offset for the new rthread from (BIAS+128) toguenther1-4/+5
2011-10-13Convert rfork_thread() from int$80 to syscall.guenther1-18/+12
2011-09-22Return the correct errno (EBUSY) when pthread_mutex_trylock() isguenther1-2/+2
2011-07-05fix a few bugs in the thread specific data functionstedu1-5/+36
2010-12-03Sync with amd64, to allow this to compile without warnings with gcc4:miod1-6/+6
2010-05-26If the stack size attribute isn't larger than the guard-page sizeguenther1-1/+3
2010-04-12New functions: bump the minorguenther1-1/+1
2010-04-12Add pthread_rwlock_timed{rd,wr}lock().guenther1-3/+68
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentmiod1-2/+2
2009-11-28This might not be necessary, but Just In Case: since the underlyingguenther1-1/+1
2009-11-27Convert thrsleep() to an absolute timeout with clockid to eliminate aguenther4-34/+21