1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/cond_order/main.c: testing without waiting threads

This commit is contained in:
JulianHolzwarth 2020-09-08 13:43:38 +02:00
parent 77c4a24bcf
commit 1ed2f36cd5

View File

@ -63,6 +63,10 @@ int main(void)
mutex_init(&testlock);
cond_init(&testcond);
/* Test if condition signal and broadcast works when no thread is waiting */
cond_signal(&testcond);
cond_broadcast(&testcond);
/* create threads */
for (unsigned i = 0; i < THREAD_NUMOF; i++) {
thread_create(stacks[i], sizeof(stacks[i]), prios[i], 0,