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

    r37c57f2 rff14c520  
    123123#define THREADS 8
    124124
    125 static void thread(void *priv)
     125static void slabtest(void *priv)
    126126{
    127127        void *data=NULL, *new;
     
    189189        semaphore_initialize(&thr_sem,0);
    190190        for (i=0; i<THREADS; i++) { 
    191                 if (!(t = thread_create(thread, NULL, TASK, 0)))
     191                if (!(t = thread_create(slabtest, NULL, TASK, 0, "slabtest")))
    192192                        panic("could not create thread\n");
    193193                thread_ready(t);
Note: See TracChangeset for help on using the changeset viewer.