Changeset 6eef3c4 in mainline for kernel/test
- Timestamp:
- 2012-06-20T16:18:37Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8b36bf2, f22dc820
- Parents:
- abfc9f3
- Location:
- kernel/test
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/falloc2.c
rabfc9f3 r6eef3c4 122 122 123 123 for (unsigned int i = 0; i < THREADS; i++) { 124 thread_t *thrd = 125 thread_create(falloc, NULL, TASK, 0, "falloc2", false);124 thread_t *thrd = thread_create(falloc, NULL, TASK, 125 THREAD_FLAG_NONE, "falloc2"); 126 126 if (!thrd) { 127 127 TPRINTF("Could not create thread %u\n", i); -
kernel/test/mm/slab1.c
rabfc9f3 r6eef3c4 155 155 156 156 semaphore_initialize(&thr_sem, 0); 157 for (i = 0; i < THREADS; i++) { 158 if (!(t = thread_create(slabtest, (void *) (sysarg_t) i, TASK, 0, "slabtest", false))) {157 for (i = 0; i < THREADS; i++) { 158 if (!(t = thread_create(slabtest, (void *) (sysarg_t) i, TASK, THREAD_FLAG_NONE, "slabtest"))) { 159 159 TPRINTF("Could not create thread %d\n", i); 160 160 } else -
kernel/test/mm/slab2.c
rabfc9f3 r6eef3c4 211 211 semaphore_initialize(&thr_sem,0); 212 212 for (i = 0; i < THREADS; i++) { 213 if (!(t = thread_create(slabtest, NULL, TASK, 0, "slabtest", false))) {213 if (!(t = thread_create(slabtest, NULL, TASK, THREAD_FLAG_NONE, "slabtest"))) { 214 214 TPRINTF("Could not create thread %d\n", i); 215 215 } else -
kernel/test/synch/semaphore1.c
rabfc9f3 r6eef3c4 93 93 for (j = 0; j < (CONSUMERS + PRODUCERS) / 2; j++) { 94 94 for (k = 0; k < i; k++) { 95 thrd = thread_create(consumer, NULL, TASK, 0, "consumer", false); 95 thrd = thread_create(consumer, NULL, TASK, 96 THREAD_FLAG_NONE, "consumer"); 96 97 if (thrd) 97 98 thread_ready(thrd); … … 100 101 } 101 102 for (k = 0; k < (4 - i); k++) { 102 thrd = thread_create(producer, NULL, TASK, 0, "producer", false); 103 thrd = thread_create(producer, NULL, TASK, 104 THREAD_FLAG_NONE, "producer"); 103 105 if (thrd) 104 106 thread_ready(thrd); -
kernel/test/synch/semaphore2.c
rabfc9f3 r6eef3c4 93 93 TPRINTF("Creating %" PRIu32 " consumers\n", k); 94 94 for (i = 0; i < k; i++) { 95 thrd = thread_create(consumer, NULL, TASK, 0, "consumer", false); 95 thrd = thread_create(consumer, NULL, TASK, 96 THREAD_FLAG_NONE, "consumer"); 96 97 if (thrd) 97 98 thread_ready(thrd); -
kernel/test/thread/thread1.c
rabfc9f3 r6eef3c4 63 63 for (i = 0; i < THREADS; i++) { 64 64 thread_t *t; 65 if (!(t = thread_create(threadtest, NULL, TASK, 0, "threadtest", false))) { 65 if (!(t = thread_create(threadtest, NULL, TASK, 66 THREAD_FLAG_NONE, "threadtest"))) { 66 67 TPRINTF("Could not create thread %d\n", i); 67 68 break;
Note:
See TracChangeset
for help on using the changeset viewer.