diff options
Diffstat (limited to 'nptl/tst-cond1.c')
-rw-r--r-- | nptl/tst-cond1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/tst-cond1.c b/nptl/tst-cond1.c index 75ab9c8d8a..509bbd0be4 100644 --- a/nptl/tst-cond1.c +++ b/nptl/tst-cond1.c @@ -73,6 +73,9 @@ do_test (void) puts ("parent: wait for condition"); + /* This test will fail on spurious wake-ups, which are allowed; however, + the current implementation shouldn't produce spurious wake-ups in the + scenario we are testing here. */ err = pthread_cond_wait (&cond, &mut); if (err != 0) error (EXIT_FAILURE, err, "parent: cannot wait fir signal"); |