Changeset e6a78b9 in mainline for kernel/test/synch/semaphore1.c
- Timestamp:
- 2012-06-29T15:31:44Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9432f08
- Parents:
- 34ab31c (diff), 0bbd13e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/synch/semaphore1.c
r34ab31c re6a78b9 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.