Rev 2216 | Rev 3069 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2216 | Rev 2745 | ||
---|---|---|---|
Line 213... | Line 213... | ||
213 | printf("ok\n"); |
213 | printf("ok\n"); |
214 | 214 | ||
215 | thread_sleep(1); |
215 | thread_sleep(1); |
216 | waitq_wakeup(&can_start, WAKEUP_ALL); |
216 | waitq_wakeup(&can_start, WAKEUP_ALL); |
217 | 217 | ||
218 | while (atomic_get(&threads_ok) != total) { |
218 | while (atomic_get(&threads_ok) != (long) total) { |
219 | if (!quiet) |
219 | if (!quiet) |
220 | printf("Threads left: %d\n", total - atomic_get(&threads_ok)); |
220 | printf("Threads left: %d\n", total - atomic_get(&threads_ok)); |
221 | thread_sleep(1); |
221 | thread_sleep(1); |
222 | } |
222 | } |
223 | 223 |