4.11
Last change
on this file since 74c15fe6 was
74c15fe6,
checked in by Joel Sherrill <joel.sherrill@…>, on Dec 10, 2013 at 11:56:22 PM
|
psxtmcond01: Fix bug where mutex not locked and add EPERM error check
This test formerly had a bug in that it attempted to wait on a
condition variable with a Mutex that was not locked. This is
undefined by POSIX. But a recent change to match GNU/Linux behavior
resulted in finding a bug in the test.
|
-
Property mode set to
100644
|
File size:
440 bytes
|
Line | |
---|
1 | *** POSIX TEST -- CONDITION VARIABLE 01 *** |
---|
2 | Init - pthread_mutex_init - Mutex1 - OK |
---|
3 | Init - pthread_mutex_init - Mutex2 - OK |
---|
4 | BlockingThread - pthread_cond_wait with mutex not locked - EPERM |
---|
5 | Init - pthread_cond_init - Condition - OK |
---|
6 | Init - pthread_create - OK |
---|
7 | Init - sleep to let BlockingThread run |
---|
8 | BlockingThread - pthread_cond_wait on Mutex1 - OK |
---|
9 | Init - pthread_cond_wait on Mutex2 - EINVAL |
---|
10 | *** END OF POSIX TEST CONDITION VARIABLE 01 *** |
---|
Note: See
TracBrowser
for help on using the repository browser.