Searched refs:mutex (Results 1 – 17 of 17) sorted by relevance
| /third_party/ulib/jemalloc/include/jemalloc/internal/ |
| A D | mutex_inlines.h | 19 AcquireSRWLockExclusive(&mutex->lock); in malloc_mutex_lock() 21 EnterCriticalSection(&mutex->lock); in malloc_mutex_lock() 24 os_unfair_lock_lock(&mutex->lock); in malloc_mutex_lock() 26 OSSpinLockLock(&mutex->lock); in malloc_mutex_lock() 28 pthread_mutex_lock(&mutex->lock); in malloc_mutex_lock() 30 witness_lock(tsdn, &mutex->witness); in malloc_mutex_lock() 38 witness_unlock(tsdn, &mutex->witness); in malloc_mutex_unlock() 43 LeaveCriticalSection(&mutex->lock); in malloc_mutex_unlock() 46 os_unfair_lock_unlock(&mutex->lock); in malloc_mutex_unlock() 48 OSSpinLockUnlock(&mutex->lock); in malloc_mutex_unlock() [all …]
|
| A D | mutex_externs.h | 13 bool malloc_mutex_init(malloc_mutex_t *mutex, const char *name, 15 void malloc_mutex_prefork(tsdn_t *tsdn, malloc_mutex_t *mutex); 16 void malloc_mutex_postfork_parent(tsdn_t *tsdn, malloc_mutex_t *mutex); 17 void malloc_mutex_postfork_child(tsdn_t *tsdn, malloc_mutex_t *mutex);
|
| A D | jemalloc_internal_defs.h.in | 111 * Among other things, it must be possible to initialize a mutex without 119 * to avoid recursive allocation during mutex initialization. 304 /* Adaptive mutex support in pthreads. */
|
| /third_party/ulib/jemalloc/src/ |
| A D | mutex.c | 75 InitializeSRWLock(&mutex->lock); in malloc_mutex_init() 82 mutex->lock = OS_UNFAIR_LOCK_INIT; in malloc_mutex_init() 84 mutex->lock = 0; in malloc_mutex_init() 87 mutex->postponed_next = postponed_mutexes; in malloc_mutex_init() 88 postponed_mutexes = mutex; in malloc_mutex_init() 90 if (_pthread_mutex_init_calloc_cb(&mutex->lock, in malloc_mutex_init() 114 malloc_mutex_lock(tsdn, mutex); in malloc_mutex_prefork() 120 malloc_mutex_unlock(tsdn, mutex); in malloc_mutex_postfork_parent() 127 malloc_mutex_unlock(tsdn, mutex); in malloc_mutex_postfork_child() 129 if (malloc_mutex_init(mutex, mutex->witness.name, in malloc_mutex_postfork_child() [all …]
|
| A D | jemalloc_cpp.cpp | 46 static std::mutex mtx; in newImpl() 47 std::lock_guard<std::mutex> lock(mtx); in newImpl()
|
| /third_party/lib/acpica/source/include/acpica/platform/ |
| A D | achaiku.h | 50 struct mutex; 59 #define ACPI_MUTEX struct mutex *
|
| /third_party/ulib/musl/pthread/ |
| A D | pthread_mutex_destroy.c | 3 int pthread_mutex_destroy(pthread_mutex_t* mutex) { in pthread_mutex_destroy() argument
|
| /third_party/ulib/musl/src/thread/ |
| A D | cnd_timedwait.c | 23 int cnd_timedwait(cnd_t* restrict c, mtx_t* restrict mutex, in cnd_timedwait() argument 25 sync_mutex_t* m = (sync_mutex_t*)mutex; in cnd_timedwait()
|
| /third_party/ulib/jemalloc/ |
| A D | rules.mk | 26 $(GET_LOCAL_DIR)/src/mutex.c \
|
| A D | INSTALL | 158 released in bulk, thus reducing the total number of mutex operations. See 188 mutex locking/unlocking operations while in single-threaded mode. In
|
| A D | ChangeLog | 557 - Add a missing mutex unlock in a malloc_init_hard() error path. In practice 828 - Add missing checks for mutex initialization failures. 884 - Add missing mutex unlocks for some OOM error paths in the heap profiling 945 - Add a missing mutex unlock in library initialization code. If multiple
|
| A D | Makefile.in | 104 $(srcroot)src/mutex.c \
|
| A D | configure.ac | 1554 dnl so, mutex initialization causes allocation, and we need to implement this
|
| /third_party/lib/acpica/tests/misc/ |
| A D | badcode.asl | 82 // Unchecked mutex and event timeouts
|
| A D | grammar.asl | 1427 /* Test "Force release" of mutex on method exit */
|
| /third_party/ulib/musl/ |
| A D | WHATSNEW | 64 hanging), and non-default-type mutex behavior. 78 implemented flockfile, wprintf, and robust mutex functions. 315 - robust mutex list was not reset on fork 1351 - corruption of cond var mutex state when switching mutexes 1355 - subtle errors in robust mutex unrecoverable status handling 1490 - possible memory corruption due to robust mutex list on detached-thread exit
|
| /third_party/lib/acpica/ |
| A D | changes.txt | 2632 the mutex object created during method mutex creation. Reported by 5996 useful. When releasing a mutex, the SyncLevel of the mutex must now be 6103 semaphore/mutex 7036 one mutex. Linn Crosetto 8467 is now implemented with a mutex instead of a semaphore. 9366 reentrant control methods are protected by an AML mutex. The mutex will 11879 mutex release. 12102 mutex. 14722 was lost if the caller had to actually wait for the mutex. 16133 semaphore or mutex "leaks" at this time. [all …]
|
Completed in 41 milliseconds