We use only a single condition variable (instead of thread different
ones) for wait_for_child(), which is notified when any job control condition (child dead, stopped, continued) occurs. These events are relatively rare anyway, and it simplifies the code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25079 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1034,13 +1034,8 @@ _dump_thread_info(struct thread *thread)
|
||||
kprintf(" sem.acquire_status: %#lx\n", thread->sem.acquire_status);
|
||||
kprintf(" sem.flags: %#lx\n", thread->sem.flags);
|
||||
|
||||
kprintf("condition variables:");
|
||||
PrivateConditionVariableEntry* entry = thread->condition_variable_entry;
|
||||
while (entry != NULL) {
|
||||
kprintf(" %p", entry->Variable());
|
||||
entry = entry->ThreadNext();
|
||||
}
|
||||
kprintf("\n");
|
||||
kprintf("condition variable: %p\n", entry ? entry->Variable() : NULL);
|
||||
|
||||
kprintf("fault_handler: %p\n", (void *)thread->fault_handler);
|
||||
kprintf("args: %p %p\n", thread->args1, thread->args2);
|
||||
|
||||
Reference in New Issue
Block a user