Searched refs:newcond (Results 1 – 4 of 4) sorted by relevance
/glibc-2.36/nptl/ |
D | old_pthread_cond_broadcast.c | 31 pthread_cond_t *newcond; in __pthread_cond_broadcast_2_0() local 33 newcond = (pthread_cond_t *) calloc (sizeof (pthread_cond_t), 1); in __pthread_cond_broadcast_2_0() 34 if (newcond == NULL) in __pthread_cond_broadcast_2_0() 37 if (atomic_compare_and_exchange_bool_acq (&cond->cond, newcond, NULL)) in __pthread_cond_broadcast_2_0() 39 free (newcond); in __pthread_cond_broadcast_2_0()
|
D | old_pthread_cond_signal.c | 31 pthread_cond_t *newcond; in __pthread_cond_signal_2_0() local 33 newcond = (pthread_cond_t *) calloc (sizeof (pthread_cond_t), 1); in __pthread_cond_signal_2_0() 34 if (newcond == NULL) in __pthread_cond_signal_2_0() 37 if (atomic_compare_and_exchange_bool_acq (&cond->cond, newcond, NULL)) in __pthread_cond_signal_2_0() 39 free (newcond); in __pthread_cond_signal_2_0()
|
D | old_pthread_cond_wait.c | 31 pthread_cond_t *newcond; in __pthread_cond_wait_2_0() local 33 newcond = (pthread_cond_t *) calloc (sizeof (pthread_cond_t), 1); in __pthread_cond_wait_2_0() 34 if (newcond == NULL) in __pthread_cond_wait_2_0() 37 if (atomic_compare_and_exchange_bool_acq (&cond->cond, newcond, NULL)) in __pthread_cond_wait_2_0() 39 free (newcond); in __pthread_cond_wait_2_0()
|
D | old_pthread_cond_timedwait.c | 32 pthread_cond_t *newcond; in __pthread_cond_timedwait_2_0() local 34 newcond = (pthread_cond_t *) calloc (sizeof (pthread_cond_t), 1); in __pthread_cond_timedwait_2_0() 35 if (newcond == NULL) in __pthread_cond_timedwait_2_0() 38 if (atomic_compare_and_exchange_bool_acq (&cond->cond, newcond, NULL)) in __pthread_cond_timedwait_2_0() 40 free (newcond); in __pthread_cond_timedwait_2_0()
|