Rev 2188 | Rev 2216 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2188 | Rev 2210 | ||
---|---|---|---|
Line 43... | Line 43... | ||
43 | { |
43 | { |
44 | thread_detach(thread_get_id()); |
44 | thread_detach(thread_get_id()); |
45 | 45 | ||
46 | while (atomic_get(&finish)) { |
46 | while (atomic_get(&finish)) { |
47 | if (!sh_quiet) |
47 | if (!sh_quiet) |
48 | printf("%d\n", thread_get_id()); |
48 | printf("%d ", thread_get_id()); |
49 | usleep(100); |
49 | usleep(100000); |
50 | } |
50 | } |
51 | atomic_inc(&threads_finished); |
51 | atomic_inc(&threads_finished); |
52 | } |
52 | } |
53 | 53 | ||
54 | char * test_thread1(bool quiet) |
54 | char * test_thread1(bool quiet) |