Changeset ff14c520 in mainline for test/synch/semaphore1/test.c


Ignore:
Timestamp:
2006-03-16T22:31:39Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
93165be
Parents:
37c57f2
Message:

It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/synch/semaphore1/test.c

    r37c57f2 rff14c520  
    100100                for (j=0; j<(CONSUMERS+PRODUCERS)/2; j++) {
    101101                        for (k=0; k<i; k++) {
    102                                 thrd = thread_create(consumer, NULL, TASK, 0);
     102                                thrd = thread_create(consumer, NULL, TASK, 0, "consumer");
    103103                                if (thrd)
    104104                                        thread_ready(thrd);
     
    107107                        }
    108108                        for (k=0; k<(4-i); k++) {
    109                                 thrd = thread_create(producer, NULL, TASK, 0);
     109                                thrd = thread_create(producer, NULL, TASK, 0, "producer");
    110110                                if (thrd)
    111111                                        thread_ready(thrd);
Note: See TracChangeset for help on using the changeset viewer.