Home
last modified time | relevance | path

Searched refs:new_thread (Results 1 – 5 of 5) sorted by relevance

/external/valgrind/main/coregrind/m_gdbserver/
Dinferiors.c100 struct thread_info *new_thread in add_thread() local
101 = (struct thread_info *) malloc (sizeof (*new_thread)); in add_thread()
103 VG_(memset) (new_thread, 0, sizeof (*new_thread)); in add_thread()
105 new_thread->entry.id = thread_id; in add_thread()
107 add_inferior_to_list (&all_threads, & new_thread->entry); in add_thread()
110 current_inferior = new_thread; in add_thread()
112 new_thread->target_data = target_data; in add_thread()
113 set_inferior_regcache_data (new_thread, new_register_cache ()); in add_thread()
114 new_thread->gdb_id = gdb_id; in add_thread()
/external/qemu/memcheck/
Dmemcheck_proc_management.c71 ThreadDesc* new_thread = (ThreadDesc*)qemu_malloc(sizeof(ThreadDesc)); in create_new_thread() local
72 if (new_thread == NULL) { in create_new_thread()
76 new_thread->tid = tid; in create_new_thread()
77 new_thread->process = proc; in create_new_thread()
78 new_thread->call_stack = NULL; in create_new_thread()
79 new_thread->call_stack_count = 0; in create_new_thread()
80 new_thread->call_stack_max = 0; in create_new_thread()
81 QLIST_INSERT_HEAD(&thread_list, new_thread, global_entry); in create_new_thread()
82 QLIST_INSERT_HEAD(&proc->threads, new_thread, proc_entry); in create_new_thread()
83 return new_thread; in create_new_thread()
/external/valgrind/main/callgrind/
Dthreads.c99 thread_info* new_thread(void) in new_thread() function
160 if (thread[tid] == 0) thread[tid] = new_thread(); in CLG_()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-darwin.c6397 ThreadState *new_thread; in PRE() local
6408 new_thread = build_thread(regs, req->flavor, req->new_stateCnt); in PRE()
6411 hijack_thread_state(regs, req->flavor, req->new_stateCnt, new_thread); in PRE()
/external/valgrind/tsan/
Dthread_sanitizer.cc7709 TSanThread *new_thread = new TSanThread(child_tid, parent_tid, in HandleThreadStart() local
7711 CHECK(new_thread == TSanThread::Get(child_tid)); in HandleThreadStart()
7713 new_thread->set_ignore_all_accesses(true); // until a new thread comes. in HandleThreadStart()