summaryrefslogtreecommitdiff
path: root/lib/libpthread/pthread_cond.c
AgeCommit message (Expand)Author
2020-01-26Pull up following revision(s) (requested by ad in ticket #647):martin
2017-12-08unconst the timestampchristos
2016-07-03GSoC 2016 Charles Cui: Implement thread priority protection based on workchristos
2014-01-31remove compatibility code for handling CLOCK_MONOTONIC and handle it in thechristos
2014-01-31PR/44756: Sad Clouds: Prevent leakage of errno = ESRCH from _lwp_park. Thischristos
2013-04-01for safety, declare mono on the outermost block it is used.christos
2013-03-28PR/47703: Yasushi Oshima: pthread_cond_timedwait() does not waitchristos
2013-03-21- Allow libpthread to be dlopened again, by providing libc stubs to libpthread.christos
2012-11-03add pthread_condattr_setclock(3)christos
2012-06-15Do not mark pthread_cond_timedwait explicitly as inlineable, since itjoerg
2010-11-02Spell immediately correctly.skrll
2010-03-23catch up with the __RENAME of nanosleep(2) a while ago, otherwise wedrochner
2009-01-18fix -Wsign-compare issueslukem
2008-10-25remove ; after __weak_alias()yamt
2008-08-02Change some type to eliminate some lint warnings.matt
2008-07-18add pthread_cond_has_waiters_np()pooka
2008-06-28Avoid spurious assertion failure.ad
2008-06-23Split cond_signal/cond_broadcast into inline and non-inline parts, likead
2008-06-21PR lib/38948: libpthread, java: thread awakening itselfad
2008-05-26Add a comment describing some limitiations of this implementation.ad
2008-05-26- Eliminate one test+branch.ad
2008-05-25pthread_cond_timedwait: don't leak EINTR or EALREADY to the caller.ad
2008-05-25Fix error in previous.ad
2008-05-25PR lib/38741 priority inversion in libpthread breaks apps that usead
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-02-14Adjust mutex/rwlock definitions to match reality now that there is onlyad
2007-12-24- Use pthread__cancelled() in more places.ad
2007-11-19Remove the debuglog stuff. ktrace is more useful now.ad
2007-11-13For PR bin/37347:ad
2007-09-13Add a per-mutex deferred wakeup flag so that threads doing something likead
2007-09-08- Get rid of self->pt_mutexhint and use pthread__mutex_owned() instead.ad
2007-09-07- Don't take the mutex's spinlock (ptr_interlock) in pthread_cond_wait().ad
2007-08-16Trim fat off libpthread internal spinlock operations. Makes a mesurablead
2007-08-07Change the signature of _lwp_park() to accept an lwpid_t and secondad
2007-08-04Some significant performance improvements, and a fix for a race with pthreadad
2007-04-12Mirror a fix made to the kernel's condvars:ad
2007-03-24- Test+branch is usually cheaper than making an indirect function call,ad
2007-03-21Move PTHREADD_ADD(PTHREADD_COND_WOKEUP) back to the correct spot.ad
2007-03-20- When signalling waiters, try not to awaken them immediatley. If we holdad
2007-03-14Cosmetic changes.ad
2007-03-05- Update to match changed pthread__park() interface.ad
2007-03-05Undo previous, it matches IEEE 1003.1.ad
2007-03-05Drop the interlock if cancelled.ad
2007-03-02Fix a sleep/wakeup race with condvars.ad
2007-03-02Remove the PTHREAD_SA option. If M:N threads is reimplemented it'sad
2007-03-02Don't grab the state lock to check for cancellation around conditionad
2006-12-24Fix bugs with and improve upon previous.ad
2006-12-23Conditionalised support for 1:1 threads. Needs associated kernel changesad
2005-01-06gettimeofday();TIMEVAL_TO_TIMESPEC(); is exactly equivalent tomycroft
2004-12-10Correctly return ETIMEDOUT when the absolute time is in the past, innathanw