Changeset ff14c520 in mainline for test/synch/rwlock4/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/rwlock4/test.c

    r37c57f2 rff14c520  
    138138                printf("Creating %d readers\n", k);
    139139                for (i=0; i<k; i++) {
    140                         thrd = thread_create(reader, NULL, TASK, 0);
     140                        thrd = thread_create(reader, NULL, TASK, 0, "reader");
    141141                        if (thrd)
    142142                                thread_ready(thrd);
     
    148148                printf("Creating %d writers\n", k);
    149149                for (i=0; i<k; i++) {
    150                         thrd = thread_create(writer, NULL, TASK, 0);
     150                        thrd = thread_create(writer, NULL, TASK, 0, "writer");
    151151                        if (thrd)
    152152                                thread_ready(thrd);
Note: See TracChangeset for help on using the changeset viewer.