Rev 897 | Rev 1474 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 897 | Rev 1062 | ||
|---|---|---|---|
| Line 55... | Line 55... | ||
| 55 | thread_t *t; |
55 | thread_t *t; |
| 56 | 56 | ||
| 57 | /* |
57 | /* |
| 58 | * Create thread that reads characters from OFW's input. |
58 | * Create thread that reads characters from OFW's input. |
| 59 | */ |
59 | */ |
| 60 | t = thread_create(kofwinput, NULL, TASK, 0); |
60 | t = thread_create(kofwinput, NULL, TASK, 0, "kofwinput"); |
| 61 | if (!t) |
61 | if (!t) |
| 62 | panic("cannot create kofwinput\n"); |
62 | panic("cannot create kofwinput\n"); |
| 63 | thread_ready(t); |
63 | thread_ready(t); |
| 64 | 64 | ||
| 65 | /* |
65 | /* |
| 66 | * Create thread that polls keyboard. |
66 | * Create thread that polls keyboard. |
| 67 | */ |
67 | */ |
| 68 | t = thread_create(kkbdpoll, NULL, TASK, 0); |
68 | t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll"); |
| 69 | if (!t) |
69 | if (!t) |
| 70 | panic("cannot create kkbdpoll\n"); |
70 | panic("cannot create kkbdpoll\n"); |
| 71 | thread_ready(t); |
71 | thread_ready(t); |
| 72 | } |
72 | } |
| 73 | 73 | ||