Changeset ff14c520 in mainline for test/synch/semaphore1/test.c
- Timestamp:
- 2006-03-16T22:31:39Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93165be
- Parents:
- 37c57f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/synch/semaphore1/test.c
r37c57f2 rff14c520 100 100 for (j=0; j<(CONSUMERS+PRODUCERS)/2; j++) { 101 101 for (k=0; k<i; k++) { 102 thrd = thread_create(consumer, NULL, TASK, 0 );102 thrd = thread_create(consumer, NULL, TASK, 0, "consumer"); 103 103 if (thrd) 104 104 thread_ready(thrd); … … 107 107 } 108 108 for (k=0; k<(4-i); k++) { 109 thrd = thread_create(producer, NULL, TASK, 0 );109 thrd = thread_create(producer, NULL, TASK, 0, "producer"); 110 110 if (thrd) 111 111 thread_ready(thrd);
Note:
See TracChangeset
for help on using the changeset viewer.