Rev 2850 | Rev 2854 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2850 | Rev 2853 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | 21 | ||
22 | printf("running debug1 test\n"); |
22 | printf("running debug1 test\n"); |
23 | rc = thread_create(t_proc, NULL, "test", &tid); |
23 | rc = thread_create(t_proc, NULL, "test", &tid); |
24 | 24 | ||
25 | printf("(active) wait for thread 'test'\n"); |
25 | printf("(active) wait for thread 'test'\n"); |
- | 26 | while (!done) { |
|
26 | while (!done) usleep(500000); |
27 | usleep(5000000); |
- | 28 | printf("."); |
|
- | 29 | } |
|
27 | 30 | ||
28 | printf("done\n"); |
31 | printf("done\n"); |
29 | return NULL; |
32 | return NULL; |
30 | } |
33 | } |