Rev 2029 | Rev 2050 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2029 | Rev 2042 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | atomic_set(&finish, 1); |
59 | atomic_set(&finish, 1); |
60 | atomic_set(&threads_finished, 0); |
60 | atomic_set(&threads_finished, 0); |
61 | 61 | ||
62 | for (i = 0; i < THREADS; i++) { |
62 | for (i = 0; i < THREADS; i++) { |
63 | thread_t *t; |
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 | printf("Could not create thread %d\n", i); |
65 | printf("Could not create thread %d\n", i); |
66 | break; |
66 | break; |
67 | } |
67 | } |
68 | thread_ready(t); |
68 | thread_ready(t); |
69 | total++; |
69 | total++; |