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

    r37c57f2 rff14c520  
    4545#define THREADS 8
    4646
    47 static void thread(void * arg);
     47static void falloc(void * arg);
    4848static void failed(void);
    4949
    5050static atomic_t thread_count;
    5151
    52 void thread(void * arg)
     52void falloc(void * arg)
    5353{
    5454        int status, order, run, allocated, i;
     
    108108        for (i = 0; i < THREADS; i++) {
    109109                thread_t * thrd;
    110                 thrd = thread_create(thread, NULL, TASK, 0);
     110                thrd = thread_create(falloc, NULL, TASK, 0, "falloc");
    111111                if (thrd)
    112112                        thread_ready(thrd);
Note: See TracChangeset for help on using the changeset viewer.