Opened 4 years ago
Closed 2 years ago
#16702 closed bug (fixed)
THR: Test FAILED - conformance/interfaces/pthread_cond_signal/1-1.test
Reported by: | cocobean | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | System/POSIX | Version: | R1/Development |
Keywords: | POSIX, pthread, pthread_cond_signal | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
This sample test aims to check the following assertion:
pthread_cond_signal() unblocks at least one thread which is blocked on the conditional variable, if any.
The steps are:
-> Create a lot of threads/process which will wait on a condition variable
-> Cascade-signal the condition and check that all threads/processes are awaken.
The test will fail when the threads are not terminated within a certain duration.
Expected result: Test passed
Actual Result: [Main thread] had to signal the condition 10 times to wake up 3 threads
Tested on: Haiku hrev54815 x86 with Open POSIX Test Suite 1.5.2
Change History (3)
comment:3 by , 2 years ago
Milestone: | Unscheduled → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Test passed on R1B2 x86 (+123). No work needed. Please close this ticket.