Rev 1852 | Rev 2028 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1852 | Rev 2022 | ||
|---|---|---|---|
| Line 46... | Line 46... | ||
| 46 | 46 | ||
| 47 | while (1) |
47 | while (1) |
| 48 | printf("%d\n",(int)(THREAD->tid)); |
48 | printf("%d\n",(int)(THREAD->tid)); |
| 49 | } |
49 | } |
| 50 | 50 | ||
| 51 | void test(void) |
51 | void test_thread1(void) |
| 52 | { |
52 | { |
| 53 | thread_t *t; |
53 | thread_t *t; |
| 54 | int i; |
54 | int i; |
| 55 | 55 | ||
| 56 | for (i=0; i<THREADS; i++) { |
56 | for (i=0; i<THREADS; i++) { |