summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
2012-02-19Fix problems revealed by regress/lib/libpthread/stack/stack.cPhilip Guenthe
2012-02-19Use 'base' as an intermediate char* variable to avoid void* arithmeticPhilip Guenthe
2012-02-19Extend miod's fix CFLAGS fix to all gcc2 platforms (suggested by TobiasPhilip Guenthe
2012-02-19Use a form of designated initializer that works with gcc2Philip Guenthe
2012-02-19Validate in pthread_attr_set{scope,sched{param,policy},inheritsched}()Philip Guenthe
2012-02-18Fix previous commit: _rthread_init() was static.Philip Guenthe
2012-02-18Before using _thread_pagesize, make sure _rthread_init() has been calledPhilip Guenthe
2012-02-18id tag.Federico G. Schwindt
2012-02-18Fix the handling of the stackaddr, stacksize, and guardsize attributes:Philip Guenthe
2012-02-18Missing cerror bits.Miod Vallat
2012-02-18Work around compiler confusion while building rthread.o on vax.Miod Vallat
2012-02-18Initialize the scope, policy, and inherit members in pthread_attr_init()Philip Guenthe
2012-02-17Allow librthread to build on mips64.Miod Vallat
2012-02-16Set __isthreaded in pthread_create() instead of _rthread_init() such that itMark Kettenis
2012-02-15Nothing important, just switching from pthreads to rthreadsPhilip Guenthe
2012-02-15Bump major to be current libpthread major +1, so we can switch over cleanly.Philip Guenthe
2012-02-15Add pthread_rwlockattr_{get,set}pshared() andPhilip Guenthe
2012-01-25@($*& Merging patches resulted in a line being duplicated instead ofPhilip Guenthe
2012-01-17Reimplement mutexes, condvars, and rwlocks to eliminate bugs,Philip Guenthe
2012-01-04Fix $OpenBSD tagPhilip Guenthe
2012-01-04Add some sanity checks, set errno accordingly to POSIX and add the namedMartin Pieuchot
2012-01-04Split out the semaphore functions.Martin Pieuchot
2012-01-04Delete some parameter names and extra semicolons that slipped throughPhilip Guenthe
2011-12-28pthread_self() may be much cheaper and never more expensive than getthrid()Philip Guenthe
2011-12-27Don't let applications block, wait for, or handle SIGTHR, as thePhilip Guenthe
2011-12-27On failure, pthread_kill() should return the errno, not -1Philip Guenthe
2011-12-24formatting errors, found using freebsd's "igor";Jason McIntyre
2011-12-22Add pthread_mutex_{get,set}prioceiling()Philip Guenthe
2011-12-21Split out the pthread_rwlock* and pthread_once() functions from rthread_sync.cPhilip Guenthe
2011-12-21Split out the pthread_mutexattr_* functions from rthread_sync.c toPhilip Guenthe
2011-12-05Mark sigthr()'s sig argument as __unusedPhilip Guenthe
2011-12-05Implement cancelation for the basic syscall cancelation points,Philip Guenthe
2011-11-27Set the initfirst and nodelete flags on the shared library, in anticipationPhilip Guenthe
2011-11-09Add the __cerror asm bits for per-thread errno support for powerpc.Mark Kettenis
2011-11-09Oh yeah, with TLS-lite we can get the thread handle without walking thePhilip Guenthe
2011-11-08Add the __cerror asm bits for per-thread errno support for hppa.Mark Kettenis
2011-11-08Include <stddef.h> to make sure offsetof() is defined.Mark Kettenis
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-19Remove some blatant lies. Provide a variant 1 archs with a defaultPhilip Guenthe
2011-10-17Use __tfork, __get_tcb, and __set_tcb to have a real TCB and per-threadPhilip Guenthe
2011-10-13Deal with the horror that is gcc asm constraints by copying thePhilip Guenthe
2011-10-13Increase the stack offset for the new rthread from (BIAS+128) toPhilip Guenthe
2011-10-13Convert rfork_thread() from int$80 to syscall.Philip Guenthe
2011-09-22Return the correct errno (EBUSY) when pthread_mutex_trylock() isPhilip Guenthe
2011-07-05fix a few bugs in the thread specific data functionsTed Unangst
2010-12-03Sync with amd64, to allow this to compile without warnings with gcc4:Miod Vallat
2010-05-26If the stack size attribute isn't larger than the guard-page sizePhilip Guenthe
2010-04-12New functions: bump the minorPhilip Guenthe
2010-04-12Add pthread_rwlock_timed{rd,wr}lock().Philip Guenthe