Rev 1787 | Rev 1839 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1787 | Rev 1820 | ||
|---|---|---|---|
| Line 113... | Line 113... | ||
| 113 | list_initialize(&ta->th_head); |
113 | list_initialize(&ta->th_head); |
| 114 | ta->as = as; |
114 | ta->as = as; |
| 115 | ta->name = name; |
115 | ta->name = name; |
| 116 | ta->main_thread = NULL; |
116 | ta->main_thread = NULL; |
| 117 | ta->refcount = 0; |
117 | ta->refcount = 0; |
| - | 118 | ta->context = THE->context; |
|
| 118 | 119 | ||
| 119 | ta->capabilities = 0; |
120 | ta->capabilities = 0; |
| 120 | ta->accept_new_threads = true; |
121 | ta->accept_new_threads = true; |
| 121 | 122 | ||
| 122 | ipc_answerbox_init(&ta->answerbox); |
123 | ipc_answerbox_init(&ta->answerbox); |
| Line 353... | Line 354... | ||
| 353 | int j; |
354 | int j; |
| 354 | 355 | ||
| 355 | t = (task_t *) node->value[i]; |
356 | t = (task_t *) node->value[i]; |
| 356 | 357 | ||
| 357 | spinlock_lock(&t->lock); |
358 | spinlock_lock(&t->lock); |
| 358 | printf("%s(%lld): address=%#zx, as=%#zx, ActiveCalls: %zd", |
359 | printf("%s(%lld): context=%ld, address=%#zx, as=%#zx, ActiveCalls: %zd", |
| 359 | t->name, t->taskid, t, t->as, atomic_get(&t->active_calls)); |
360 | t->name, t->taskid, t->context, t, t->as, atomic_get(&t->active_calls)); |
| 360 | for (j=0; j < IPC_MAX_PHONES; j++) { |
361 | for (j=0; j < IPC_MAX_PHONES; j++) { |
| 361 | if (t->phones[j].callee) |
362 | if (t->phones[j].callee) |
| 362 | printf(" Ph(%zd): %#zx ", j, t->phones[j].callee); |
363 | printf(" Ph(%zd): %#zx ", j, t->phones[j].callee); |
| 363 | } |
364 | } |
| 364 | printf("\n"); |
365 | printf("\n"); |