Changeset 62b6d17 in mainline for kernel/test
- Timestamp:
- 2006-12-14T16:47:36Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aeaebcc
- Parents:
- 55cc9bc
- Location:
- kernel/test
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/fpu/fpu1.c
r55cc9bc r62b6d17 186 186 thread_t *t; 187 187 188 if (!(t = thread_create(e, NULL, TASK, 0, "e" ))) {188 if (!(t = thread_create(e, NULL, TASK, 0, "e", false))) { 189 189 printf("could not create thread %d\n", 2 * i); 190 190 break; … … 193 193 total++; 194 194 195 if (!(t = thread_create(pi, NULL, TASK, 0, "pi" ))) {195 if (!(t = thread_create(pi, NULL, TASK, 0, "pi", false))) { 196 196 printf("could not create thread %d\n", 2 * i + 1); 197 197 break; -
kernel/test/fpu/mips2.c
r55cc9bc r62b6d17 123 123 thread_t *t; 124 124 125 if (!(t = thread_create(testit1, (void *) ((unative_t) 2 * i), TASK, 0, "testit1" ))) {125 if (!(t = thread_create(testit1, (void *) ((unative_t) 2 * i), TASK, 0, "testit1", false))) { 126 126 printf("could not create thread %d\n", 2 * i); 127 127 break; … … 130 130 total++; 131 131 132 if (!(t = thread_create(testit2, (void *) ((unative_t) 2 * i + 1), TASK, 0, "testit2" ))) {132 if (!(t = thread_create(testit2, (void *) ((unative_t) 2 * i + 1), TASK, 0, "testit2", false))) { 133 133 printf("could not create thread %d\n", 2 * i + 1); 134 134 break; -
kernel/test/fpu/sse1.c
r55cc9bc r62b6d17 122 122 thread_t *t; 123 123 124 if (!(t = thread_create(testit1, (void *) ((unative_t) 2 * i), TASK, 0, "testit1" ))) {124 if (!(t = thread_create(testit1, (void *) ((unative_t) 2 * i), TASK, 0, "testit1", false))) { 125 125 printf("could not create thread %d\n", 2 * i); 126 126 break; … … 129 129 total++; 130 130 131 if (!(t = thread_create(testit2, (void *) ((unative_t) 2 * i + 1), TASK, 0, "testit2" ))) {131 if (!(t = thread_create(testit2, (void *) ((unative_t) 2 * i + 1), TASK, 0, "testit2", false))) { 132 132 printf("could not create thread %d\n", 2 * i + 1); 133 133 break; -
kernel/test/mm/falloc2.c
r55cc9bc r62b6d17 108 108 109 109 for (i = 0; i < THREADS; i++) { 110 thread_t * thrd = thread_create(falloc, NULL, TASK, 0, "falloc" );110 thread_t * thrd = thread_create(falloc, NULL, TASK, 0, "falloc", false); 111 111 if (!thrd) { 112 112 printf("Could not create thread %d\n", i); -
kernel/test/mm/slab1.c
r55cc9bc r62b6d17 139 139 semaphore_initialize(&thr_sem, 0); 140 140 for (i = 0; i < THREADS; i++) { 141 if (!(t = thread_create(slabtest, (void *) (unative_t) i, TASK, 0, "slabtest" )))141 if (!(t = thread_create(slabtest, (void *) (unative_t) i, TASK, 0, "slabtest", false))) 142 142 printf("Could not create thread %d\n", i); 143 143 else -
kernel/test/mm/slab2.c
r55cc9bc r62b6d17 191 191 semaphore_initialize(&thr_sem,0); 192 192 for (i = 0; i < THREADS; i++) { 193 if (!(t = thread_create(slabtest, NULL, TASK, 0, "slabtest" )))193 if (!(t = thread_create(slabtest, NULL, TASK, 0, "slabtest", false))) 194 194 printf("Could not create thread %d\n", i); 195 195 else -
kernel/test/synch/rwlock2.c
r55cc9bc r62b6d17 67 67 rwlock_read_lock(&rwlock); 68 68 69 thrd = thread_create(writer, NULL, TASK, 0, "writer" );69 thrd = thread_create(writer, NULL, TASK, 0, "writer", false); 70 70 if (thrd) 71 71 thread_ready(thrd); -
kernel/test/synch/rwlock3.c
r55cc9bc r62b6d17 65 65 66 66 for (i = 0; i < 4; i++) { 67 thrd = thread_create(reader, NULL, TASK, 0, "reader" );67 thrd = thread_create(reader, NULL, TASK, 0, "reader", false); 68 68 if (thrd) 69 69 thread_ready(thrd); -
kernel/test/synch/rwlock4.c
r55cc9bc r62b6d17 131 131 printf("Creating %d readers\n", k); 132 132 for (i = 0; i < k; i++) { 133 thrd = thread_create(reader, NULL, TASK, 0, "reader" );133 thrd = thread_create(reader, NULL, TASK, 0, "reader", false); 134 134 if (thrd) 135 135 thread_ready(thrd); … … 141 141 printf("Creating %d writers\n", k); 142 142 for (i = 0; i < k; i++) { 143 thrd = thread_create(writer, NULL, TASK, 0, "writer" );143 thrd = thread_create(writer, NULL, TASK, 0, "writer", false); 144 144 if (thrd) 145 145 thread_ready(thrd); -
kernel/test/synch/rwlock5.c
r55cc9bc r62b6d17 88 88 for (j = 0; j < (READERS + WRITERS) / 2; j++) { 89 89 for (k = 0; k < i; k++) { 90 thrd = thread_create(reader, NULL, TASK, 0, "reader" );90 thrd = thread_create(reader, NULL, TASK, 0, "reader", false); 91 91 if (thrd) 92 92 thread_ready(thrd); … … 95 95 } 96 96 for (k = 0; k < (4 - i); k++) { 97 thrd = thread_create(writer, NULL, TASK, 0, "writer" );97 thrd = thread_create(writer, NULL, TASK, 0, "writer", false); 98 98 if (thrd) 99 99 thread_ready(thrd); -
kernel/test/synch/semaphore1.c
r55cc9bc r62b6d17 91 91 for (j = 0; j < (CONSUMERS + PRODUCERS) / 2; j++) { 92 92 for (k = 0; k < i; k++) { 93 thrd = thread_create(consumer, NULL, TASK, 0, "consumer" );93 thrd = thread_create(consumer, NULL, TASK, 0, "consumer", false); 94 94 if (thrd) 95 95 thread_ready(thrd); … … 98 98 } 99 99 for (k = 0; k < (4 - i); k++) { 100 thrd = thread_create(producer, NULL, TASK, 0, "producer" );100 thrd = thread_create(producer, NULL, TASK, 0, "producer", false); 101 101 if (thrd) 102 102 thread_ready(thrd); -
kernel/test/synch/semaphore2.c
r55cc9bc r62b6d17 94 94 printf("Creating %d consumers\n", k); 95 95 for (i = 0; i < k; i++) { 96 thrd = thread_create(consumer, NULL, TASK, 0, "consumer" );96 thrd = thread_create(consumer, NULL, TASK, 0, "consumer", false); 97 97 if (thrd) 98 98 thread_ready(thrd); -
kernel/test/thread/thread1.c
r55cc9bc r62b6d17 62 62 for (i = 0; i < THREADS; i++) { 63 63 thread_t *t; 64 if (!(t = thread_create(threadtest, NULL, TASK, 0, "threadtest" ))) {64 if (!(t = thread_create(threadtest, NULL, TASK, 0, "threadtest", false))) { 65 65 printf("Could not create thread %d\n", i); 66 66 break;
Note:
See TracChangeset
for help on using the changeset viewer.