We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c00ff commit ec0d878Copy full SHA for ec0d878
tests/posix/common/src/pthread.c
@@ -97,7 +97,7 @@ void *thread_top_exec(void *p1)
97
* scheduled and wait on cvar0.
98
*/
99
if (!(id == 0 && i == 0)) {
100
- pthread_cond_wait(&cvar0, &lock);
+ zassert_equal(0, pthread_cond_wait(&cvar0, &lock), "");
101
} else {
102
pthread_mutex_unlock(&lock);
103
usleep(USEC_PER_MSEC * 500U);
0 commit comments