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

    r37c57f2 rff14c520  
    113113
    114114        for (i=0; i<THREADS/2; i++) { 
    115                 if (!(t = thread_create(testit1, (void *)((__native)i*2), TASK, 0)))
     115                if (!(t = thread_create(testit1, (void *)((__native)i*2), TASK, 0, "testit1")))
    116116                        panic("could not create thread\n");
    117117                thread_ready(t);
    118                 if (!(t = thread_create(testit2, (void *)((__native)i*2+1), TASK, 0)))
     118                if (!(t = thread_create(testit2, (void *)((__native)i*2+1), TASK, 0, "testit2")))
    119119                        panic("could not create thread\n");
    120120                thread_ready(t);
Note: See TracChangeset for help on using the changeset viewer.