Home | History | Annotate | Download | only in memcheck

Lines Matching full:new_thread

71     ThreadDesc* new_thread = (ThreadDesc*)qemu_malloc(sizeof(ThreadDesc));
72 if (new_thread == NULL) {
76 new_thread->tid = tid;
77 new_thread->process = proc;
78 new_thread->call_stack = NULL;
79 new_thread->call_stack_count = 0;
80 new_thread->call_stack_max = 0;
81 QLIST_INSERT_HEAD(&thread_list, new_thread, global_entry);
82 QLIST_INSERT_HEAD(&proc->threads, new_thread, proc_entry);
83 return new_thread;