summaryrefslogtreecommitdiff
path: root/lib/librthread
AgeCommit message (Expand)Author
2012-06-21Update to reflect API changesPhilip Guenthe
2012-06-21__tfork() needs to set the stack address of the new thread in the kernel,Philip Guenthe
2012-05-06Style nits from Brad.Paul Irofti
2012-05-03Add pthread spinlock support.Paul Irofti
2012-04-23Honor subsystem style.Paul Irofti
2012-04-17Remove "#define _POSIX_THREADS" line before include <pthread.h>.Miod Vallat
2012-04-14Add new mutex type, PTHREAD_MUTEX_STRICT_NP which checks for applicationKurt Miller
2012-04-13Provide _atomic_lock() and __cerror() for hppa64. Makes hppa64 build again.Joel Sing
2012-04-13Use PTHREAD_MUTEX_DEFAULT in static init and mutexattr_init. If theKurt Miller
2012-04-13Per POSIX, PTHREAD_MUTEX_NORMAL type mutexes have undefined behavior forKurt Miller
2012-04-13Add sigwaitinfo and sigtimedwait stubs under #if 0; a bit more kernelPhilip Guenthe
2012-04-12remove rfork(); ok guenther miodTheo de Raadt
2012-04-11Minor bump after my previous commit. Noticed by deraadt@.Paul Irofti
2012-04-11Add pthread barrier support.Paul Irofti
2012-04-10pthread_setcanceltype() shouldn't be a cancelation pointPhilip Guenthe
2012-04-06Fix typo.Joel Sing
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