Changeset ff14c520 in mainline for test/mm/slab1/test.c
- Timestamp:
- 2006-03-16T22:31:39Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93165be
- Parents:
- 37c57f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/mm/slab1/test.c
r37c57f2 rff14c520 109 109 semaphore_t thr_sem; 110 110 111 static void thread(void *data)111 static void slabtest(void *data) 112 112 { 113 113 int offs = (int)(__native) data; … … 139 139 semaphore_initialize(&thr_sem,0); 140 140 for (i=0; i<THREADS; i++) { 141 if (!(t = thread_create( thread, (void *)(__native)i, TASK, 0)))141 if (!(t = thread_create(slabtest, (void *)(__native)i, TASK, 0, "slabtest"))) 142 142 panic("could not create thread\n"); 143 143 thread_ready(t);
Note:
See TracChangeset
for help on using the changeset viewer.