aboutsummaryrefslogtreecommitdiff
path: root/lib/libthr/thread/thr_mutex.c
Commit message (Expand)AuthorAgeFilesLines
* libthr: remove explicit sys/cdefs.h includesKonstantin Belousov2024-03-131-1/+0
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-231-2/+0
* thr_mutex.c: styleKonstantin Belousov2023-07-281-2/+2
* libthr: Patch to reduce latency to acquire+release a pthread mutex.Greg Becker2023-07-131-4/+4
* libthr: Add src.conf variable WITHOUT_PTHREADS_ASSERTIONSGreg Becker2023-07-131-1/+1
* Remove PAGE_SIZE from libthrAndrew Turner2022-06-071-1/+1
* Ensure that threading library is initialized in pthread_mutex_init().Konstantin Belousov2020-11-301-0/+2
* Fix destruction of the robust mutexes.Konstantin Belousov2019-09-231-1/+5
* Avoid conflicts with libc symbols in libthr jump table.Konstantin Belousov2019-07-311-21/+22
* Do not access mutex memory after unlock.Konstantin Belousov2019-04-121-2/+3
* Fixes for very early use of the pthread_mutex_* and libthr malloc.Konstantin Belousov2019-02-041-0/+1
* Untangle jemalloc and mutexes initialization.Konstantin Belousov2019-01-291-4/+5
* POSIX compliance improvements in the pthread(3) functions.Pedro F. Giffuni2018-08-181-14/+14
* spdx: initial adoption of licensing ID tags.Pedro F. Giffuni2017-11-181-1/+3
* libthr: fix warnings from GCC when WARNS=6Eric van Gyzen2017-05-231-2/+1
* Fix __pthread_mutex_trylock() to call THR_CRITICAL_LEAVE() on failure ratherJason Evans2017-05-131-1/+1
* Revert r302194, there are issues with some applications after changingKonstantin Belousov2016-06-251-4/+1
* For pthread_mutex_trylock() call on owned error-check or non-portableKonstantin Belousov2016-06-251-2/+5
* libthr: Use formatted PANIC()Conrad Meyer2016-06-011-17/+6
* Add implementation of robust mutexes, hopefully close enough to theKonstantin Belousov2016-05-171-103/+277
* If off-page lookup failed, there is no memory to performKonstantin Belousov2016-04-121-1/+2
* Use __FBSDID() for .c files from lib/libthr/thread.Konstantin Belousov2016-04-081-2/+3
* Assert that the lock objects put into the off-page, fit into the page.Konstantin Belousov2016-04-081-0/+3
* Apparently there are some popular programs around which assume that itKonstantin Belousov2016-03-221-2/+53
* Provide more information on failing checks in mutex_assert_is_owned()Konstantin Belousov2016-03-211-4/+16
* Implement process-shared locks support for libthr.so.3, withoutKonstantin Belousov2016-02-281-178/+338
* Propagate errors from _thr_umutex_unlock2 through mutex_unlock_common.Konstantin Belousov2015-02-251-3/+4
* MFp4:David Xu2012-08-111-8/+8
* Return EBUSY for PTHREAD_MUTEX_ADAPTIVE_NP too when the mutex could notDavid Xu2012-05-271-0/+1
* Return 0 instead of garbage value.David Xu2011-01-061-2/+1
* Always clear flag PMUTEX_FLAG_DEFERED when unlocking, as it is onlyDavid Xu2010-12-241-2/+2
* MFp4:David Xu2010-12-221-82/+120
* Remove locking and unlock in pthread_mutex_destroy, becauseDavid Xu2010-10-271-25/+2
* Check invalid mutex in _mutex_cv_unlock.David Xu2010-09-291-0/+6
* In current code, statically initialized and destroyed object haveDavid Xu2010-09-281-119/+98
* Change atfork lock from mutex to rwlock, also make mutexes used by malloc()David Xu2010-09-011-5/+23
* Add two commands to _umtx_op system call to allow a simple mutex to beDavid Xu2008-06-241-35/+33
* - Reduce function call overhead for uncontended case.David Xu2008-05-291-205/+103
* Increase the default MUTEX_ADAPTIVE_SPINS to 2000, after furtherKris Kennaway2008-04-261-1/+1
* Fixed mis-implementation of pthread_mutex_get{spin,yield}loops_np().Ruslan Ermilov2008-03-251-4/+7
* _pthread_mutex_isowned_np(): use a more reliable method; the current codeDag-Erling Smørgrav2008-02-141-1/+1
* Remove unnecessary prototype.Dag-Erling Smørgrav2008-02-061-1/+0
* Per discussion on -threads, rename _islocked_np() to _isowned_np().Dag-Erling Smørgrav2008-02-061-3/+3
* After careful consideration (and a brief discussion with attilio@), changeDag-Erling Smørgrav2008-02-041-1/+1
* Add pthread_mutex_islocked_np(), a cheap way to verify that a mutex isDag-Erling Smørgrav2008-02-031-0/+16
* Add function prototypes.David Xu2007-12-171-1/+7
* 1. Add function pthread_mutex_setspinloops_np to turn a mutex's spinDavid Xu2007-12-141-29/+104
* Enclose all code for macro ENQUEUE_MUTEX in do while statement, andDavid Xu2007-12-111-5/+7
* Fix pointer dereferencing problems in _pthread_mutex_init_calloc_cb() thatJason Evans2007-11-281-7/+3
* Add _pthread_mutex_init_calloc_cb() to libthr and libkse, so that malloc(3)Jason Evans2007-11-271-6/+27