diff options
Diffstat (limited to 'nptl/pthread_cond_common.c')
-rw-r--r-- | nptl/pthread_cond_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_cond_common.c b/nptl/pthread_cond_common.c index 3ca9ab92b9..7440bb18e6 100644 --- a/nptl/pthread_cond_common.c +++ b/nptl/pthread_cond_common.c @@ -230,7 +230,7 @@ __condvar_quiesce_and_switch_g1 (pthread_cond_t *cond, uint64_t wseq, /* First, set the closed flag on __g_signals. This tells waiters that are about to wait that they shouldn't do that anymore. This basically - serves as an advance notificaton of the upcoming change to __g1_start; + serves as an advance notification of the upcoming change to __g1_start; waiters interpret it as if __g1_start was larger than their waiter sequence position. This allows us to change __g1_start after waiting for all existing waiters with group references to leave, which in turn |