Searched refs:n_waiting_thds (Results 1 – 3 of 3) sorted by relevance
/external/jemalloc_new/include/jemalloc/internal/ |
D | mutex.h | 190 uint32_t cur_n_waiting_thds = atomic_load_u32(&sum->n_waiting_thds, in malloc_mutex_prof_merge() 193 &data->n_waiting_thds, ATOMIC_RELAXED); in malloc_mutex_prof_merge() 194 atomic_store_u32(&sum->n_waiting_thds, new_n_waiting_thds, in malloc_mutex_prof_merge() 245 atomic_store_u32(&data->n_waiting_thds, 0, ATOMIC_RELAXED); in malloc_mutex_prof_read()
|
D | mutex_prof.h | 83 atomic_u32_t n_waiting_thds; member
|
/external/jemalloc_new/src/ |
D | mutex.c | 74 uint32_t n_thds = atomic_fetch_add_u32(&data->n_waiting_thds, 1, in malloc_mutex_lock_slow() 78 atomic_fetch_sub_u32(&data->n_waiting_thds, 1, ATOMIC_RELAXED); in malloc_mutex_lock_slow() 86 atomic_fetch_sub_u32(&data->n_waiting_thds, 1, ATOMIC_RELAXED); in malloc_mutex_lock_slow()
|