Changes in kernel/test/synch/semaphore1.c [7e752b2:6eef3c4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/semaphore1.c
r7e752b2 r6eef3c4 93 93 for (j = 0; j < (CONSUMERS + PRODUCERS) / 2; j++) { 94 94 for (k = 0; k < i; k++) { 95 thrd = thread_create(consumer, NULL, TASK, 0, "consumer", false); 95 thrd = thread_create(consumer, NULL, TASK, 96 THREAD_FLAG_NONE, "consumer"); 96 97 if (thrd) 97 98 thread_ready(thrd); … … 100 101 } 101 102 for (k = 0; k < (4 - i); k++) { 102 thrd = thread_create(producer, NULL, TASK, 0, "producer", false); 103 thrd = thread_create(producer, NULL, TASK, 104 THREAD_FLAG_NONE, "producer"); 103 105 if (thrd) 104 106 thread_ready(thrd);
Note:
See TracChangeset
for help on using the changeset viewer.