Searched refs:wseq (Results 1 – 4 of 4) sorted by relevance
/glibc-2.36/nptl/ |
D | pthread_cond_wait.c | 38 uint64_t wseq; member 172 unsigned g = cbuffer->wseq & 1; in __condvar_cleanup_waiting() 176 __condvar_cancel_waiting (cond, cbuffer->wseq >> 1, g, cbuffer->private); in __condvar_cleanup_waiting() 401 uint64_t wseq = __condvar_fetch_add_wseq_acquire (cond, 2); in __pthread_cond_wait_common() local 404 unsigned int g = wseq & 1; in __pthread_cond_wait_common() 405 uint64_t seq = wseq >> 1; in __pthread_cond_wait_common() 497 cbuffer.wseq = wseq; in __pthread_cond_wait_common()
|
D | pthread_cond_signal.c | 66 unsigned long long int wseq = __condvar_load_wseq_relaxed (cond); in ___pthread_cond_signal() local 67 unsigned int g1 = (wseq & 1) ^ 1; in ___pthread_cond_signal() 68 wseq >>= 1; in ___pthread_cond_signal() 77 || __condvar_quiesce_and_switch_g1 (cond, wseq, &g1, private)) in ___pthread_cond_signal()
|
D | pthread_cond_broadcast.c | 49 unsigned long long int wseq = __condvar_load_wseq_relaxed (cond); in ___pthread_cond_broadcast() local 50 unsigned int g2 = wseq & 1; in ___pthread_cond_broadcast() 52 wseq >>= 1; in ___pthread_cond_broadcast() 72 if (__condvar_quiesce_and_switch_g1 (cond, wseq, &g1, private)) in ___pthread_cond_broadcast()
|
D | pthread_cond_common.c | 201 __condvar_quiesce_and_switch_g1 (pthread_cond_t *cond, uint64_t wseq, in __condvar_quiesce_and_switch_g1() argument 214 if (((unsigned) (wseq - old_g1_start - old_orig_size) in __condvar_quiesce_and_switch_g1() 310 wseq = __condvar_fetch_xor_wseq_release (cond, 1) >> 1; in __condvar_quiesce_and_switch_g1() 316 unsigned int orig_size = wseq - (old_g1_start + old_orig_size); in __condvar_quiesce_and_switch_g1()
|