Changeset ff14c520 in mainline for test/thread/thread1/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/thread/thread1/test.c
r37c57f2 rff14c520 40 40 #define THREADS 5 41 41 42 static void thread (void *data)42 static void threadtest(void *data) 43 43 { 44 44 while(1) … … 55 55 56 56 for (i=0; i<THREADS; i++) { 57 if (!(t = thread_create(thread , NULL, TASK, 0)))57 if (!(t = thread_create(threadtest, NULL, TASK, 0, "threadtest"))) 58 58 panic("could not create thread\n"); 59 59 thread_ready(t);
Note:
See TracChangeset
for help on using the changeset viewer.