Rev 827 | Rev 1658 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 827 | Rev 1062 | ||
---|---|---|---|
Line 110... | Line 110... | ||
110 | 110 | ||
111 | printf("SSE test #1\n"); |
111 | printf("SSE test #1\n"); |
112 | printf("Creating %d threads... ", THREADS); |
112 | printf("Creating %d threads... ", THREADS); |
113 | 113 | ||
114 | for (i=0; i<THREADS/2; i++) { |
114 | for (i=0; i<THREADS/2; i++) { |
115 | if (!(t = thread_create(testit1, (void *)((__native)i*2), TASK, 0))) |
115 | if (!(t = thread_create(testit1, (void *)((__native)i*2), TASK, 0, "testit1"))) |
116 | panic("could not create thread\n"); |
116 | panic("could not create thread\n"); |
117 | thread_ready(t); |
117 | thread_ready(t); |
118 | if (!(t = thread_create(testit2, (void *)((__native)i*2+1), TASK, 0))) |
118 | if (!(t = thread_create(testit2, (void *)((__native)i*2+1), TASK, 0, "testit2"))) |
119 | panic("could not create thread\n"); |
119 | panic("could not create thread\n"); |
120 | thread_ready(t); |
120 | thread_ready(t); |
121 | } |
121 | } |
122 | 122 | ||
123 | printf("ok\n"); |
123 | printf("ok\n"); |