summaryrefslogtreecommitdiffstats
path: root/lib/librthread/rthread_sync.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move mutex, condvar, and thread-specific data routes, pthread_once, andguenther2017-09-051-693/+0
* not all the world is an i386. Back out breakage.deraadt2017-07-291-3/+1
* Use memory barriers to prevent pointer use before initialization.pirofti2017-07-291-1/+3
* Get rid of ticket support, replace "struct _spinlock" with "_atomic_lock_t".akfaew2016-09-041-9/+8
* Remove _USING_TICKETS, it's defined as 0. No functional change.akfaew2016-09-031-8/+7
* Use a Thread Information Block in both single and multi-threaded programs.guenther2016-05-071-13/+20
* PROTO_NORMAL(pthread_cond_signal) requires DEF_STD(pthread_cond_signal)guenther2016-04-151-1/+2
* Wrap <pthread.h> and <pthread_np.h> to eliminate PLT entries for internalguenther2016-04-021-1/+9
* something's not quite right yet. ticket locks result in more CPU usagetedu2013-06-011-9/+10
* cleanup and consolidate the spinlock_lock (what a name!) code.tedu2013-06-011-11/+11
* fix wrong fn name in debugtedu2013-06-011-2/+2
* Add new mutex type, PTHREAD_MUTEX_STRICT_NP which checks for applicationkurt2012-04-141-3/+8
* Use PTHREAD_MUTEX_DEFAULT in static init and mutexattr_init. If thekurt2012-04-131-5/+13
* Per POSIX, PTHREAD_MUTEX_NORMAL type mutexes have undefined behavior forkurt2012-04-131-7/+31
* Our default mutex type is PTHREAD_MUTEX_ERRORCHECK, for which tryingguenther2012-02-281-1/+20
* PTHREAD_MUTEX_NORMAL mutexes are supposed to self-deadlock, not abort.guenther2012-02-231-3/+16
* Add pthread_condattr_{get,set}clock(), requested by aja@guenther2012-02-231-36/+19
* @($*& Merging patches resulted in a line being duplicated instead ofguenther2012-01-251-2/+1
* Reimplement mutexes, condvars, and rwlocks to eliminate bugs,guenther2012-01-171-44/+428
* Split out the semaphore functions.mpi2012-01-041-178/+2
* Split out the pthread_rwlock* and pthread_once() functions from rthread_sync.cguenther2011-12-211-275/+2
* Split out the pthread_mutexattr_* functions from rthread_sync.c toguenther2011-12-211-44/+9
* Move <machine/spinlock.h> into rthread.h; strip out unnecessary #includesguenther2011-11-061-10/+1
* Return the correct errno (EBUSY) when pthread_mutex_trylock() isguenther2011-09-221-2/+2
* Add pthread_rwlock_timed{rd,wr}lock().guenther2010-04-121-3/+68
* Convert thrsleep() to an absolute timeout with clockid to eliminate aguenther2009-11-271-26/+12
* pthread_rwlock_wrlock() should increment the count of writers justguenther2009-11-191-4/+3
* use calloc() instead of malloc() and memset()kevlo2008-10-131-15/+8
* fix rwlocks to work with the "initialized" form, from Philip Guenthertedu2008-02-221-3/+45
* _FD_LOCK/UNLOCK() is libpthread specific and not needed for librthread, sokurt2007-06-051-1/+7
* protect against races while initializing static mutexes. okay marc@ tedu@kurt2007-05-251-6/+13
* add -Wstrict-prototypes -Wmissing-prototypes -Wsign-comparemarc2006-01-051-2/+2
* add pthread_mutexattr_gettype.brad2005-12-311-1/+9
* prototype all the thread syscalls in rthread.h for now.tedu2005-12-301-7/+4
* the story in pthread_rwlockattr_destory() shoudl be destroyedotto2005-12-291-2/+2
* more consistently use _rthread prefix for all not meant to be exportedtedu2005-12-221-4/+4
* update copyright to 2005tedu2005-12-191-2/+2
* initialize all spinlocks to _SPINLOCK_UNLOCKEDtedu2005-12-181-1/+5
* all is made clear: pthread_cond_timedwait takes absolute timeoutstedu2005-12-141-3/+17
* check for waiters when destroying a mutex or semaphoretedu2005-12-141-3/+15
* make the mutex unlock and sleep in pthread_cond_wait properly atomictedu2005-12-131-3/+11
* several silly bugs in pthread_cond_timedwait.tedu2005-12-131-5/+7
* update thrsleep and thrwakeup - first arg changed from long to void *tedu2005-12-131-7/+7
* correct implementation of pthread_cond_signal. it doesn't raise the semtedu2005-12-131-4/+23
* add the posix semaphore functions. this lets vlc work.tedu2005-12-071-5/+89
* add pthread_once. unfortunately, the public pthread.h headertedu2005-12-061-1/+14
* add userland thread library. incomplete, but functionaltedu2005-12-031-0/+477