summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
2012-03-22Remove pthread_suspend* and related functions. This is part of theKurt Miller
2012-03-22bump majors on libc and rthreads for the additions to libc and transferPhilip Guenthe
2012-03-22closefrom() should be a cancellation pointPhilip Guenthe
2012-03-22tfork_thread has been moved to libcPhilip Guenthe
2012-03-22Move __tfork_thread() from rthreads (libpthread) to libc so thatPhilip Guenthe
2012-03-20Clean up unnecessary prototypes. Pointed out by brad@Philip Guenthe
2012-03-20Permit recursive locking in _rthread_dl_lock(), as an so's destructorPhilip Guenthe
2012-03-14Force sched_yield() to be resolved before calling dlctl(DL_SET*LCK) withPhilip Guenthe
2012-03-13Don't trust the environment if issetugid()Philip Guenthe
2012-03-03Sync the assembly statements with <machine/lock.h> for consistency.Miod Vallat
2012-03-03Bump minor for recent additionsPhilip Guenthe
2012-03-03sem_timedwait() should return ETIMEDOUT instead of EWOULDBLOCK on timeoutPhilip Guenthe
2012-03-03Add sem_timewait() and fix sem_wait()'s handling of signals, soPhilip Guenthe
2012-03-02fix check when setting the contention scope. harmless atm but still wrong.Federico G. Schwindt
2012-03-02for readability, put the label on it's own line.Federico G. Schwindt
2012-03-02_SPINLOCK_UNLOCKED isn't zero everywhere (*cough*hppa*cough*), soPhilip Guenthe
2012-02-28Our default mutex type is PTHREAD_MUTEX_ERRORCHECK, for which tryingPhilip Guenthe
2012-02-27fix __errno symbol nameMiod Vallat
2012-02-26Fix buglets.Miod Vallat
2012-02-26__cerror gets invoked with errno in v0, not a0.Miod Vallat
2012-02-26Fix label for threaded binaries to link.Miod Vallat
2012-02-24sched_yield() is the standard name while pthread_yield() is thePhilip Guenthe
2012-02-23PTHREAD_MUTEX_NORMAL mutexes are supposed to self-deadlock, not abort.Philip Guenthe
2012-02-23Add pthread_condattr_{get,set}clock(), requested by aja@Philip Guenthe
2012-02-21Make pthread_suspend_np() and pthread_resume_np() simply fail insteadPhilip Guenthe
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