Home
last modified time | relevance | path

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

/freebsd-10-stable/lib/libkse/thread/
Dthr_create.c84 struct pthread *curthread, *new_thread; in _pthread_create() local
107 if ((new_thread = _thr_alloc(curthread)) == NULL) { in _pthread_create()
114 new_thread->attr = _pthread_attr_default; in _pthread_create()
116 new_thread->attr = *(*attr); in _pthread_create()
120 new_thread->attr.flags |= PTHREAD_SCOPE_SYSTEM; in _pthread_create()
122 new_thread->attr.flags &= ~PTHREAD_SCOPE_SYSTEM; in _pthread_create()
130 new_thread->attr.flags |= PTHREAD_SCOPE_SYSTEM; in _pthread_create()
133 new_thread->attr.flags &= ~PTHREAD_SCOPE_SYSTEM; in _pthread_create()
134 if (create_stack(&new_thread->attr) != 0) { in _pthread_create()
137 _thr_free(curthread, new_thread); in _pthread_create()
[all …]
/freebsd-10-stable/lib/libthr/thread/
Dthr_create.c55 struct pthread *curthread, *new_thread; in _pthread_create() local
77 if ((new_thread = _thr_alloc(curthread)) == NULL) in _pthread_create()
84 new_thread->attr = _pthread_attr_default; in _pthread_create()
86 new_thread->attr = *(*attr); in _pthread_create()
87 cpusetp = new_thread->attr.cpuset; in _pthread_create()
88 cpusetsize = new_thread->attr.cpusetsize; in _pthread_create()
89 new_thread->attr.cpuset = NULL; in _pthread_create()
90 new_thread->attr.cpusetsize = 0; in _pthread_create()
92 if (new_thread->attr.sched_inherit == PTHREAD_INHERIT_SCHED) { in _pthread_create()
95 new_thread->attr.flags |= PTHREAD_SCOPE_SYSTEM; in _pthread_create()
[all …]
/freebsd-10-stable/contrib/gdb/gdb/gdbserver/
Dinferiors.c107 struct thread_info *new_thread in add_thread() local
108 = (struct thread_info *) malloc (sizeof (*new_thread)); in add_thread()
110 memset (new_thread, 0, sizeof (*new_thread)); in add_thread()
112 new_thread->entry.id = thread_id; in add_thread()
114 add_inferior_to_list (&all_threads, & new_thread->entry); in add_thread()
117 current_inferior = new_thread; in add_thread()
119 new_thread->target_data = target_data; in add_thread()
120 set_inferior_regcache_data (new_thread, new_register_cache ()); in add_thread()
/freebsd-10-stable/contrib/gcc/
Dreorg.c2501 rtx new_thread; in fill_slots_from_thread() local
2530 new_thread = thread = try_split (PATTERN (thread), thread, 0); in fill_slots_from_thread()
2588 if (new_thread == trial) in fill_slots_from_thread()
2589 new_thread = thread; in fill_slots_from_thread()
2597 new_thread = next_active_insn (trial); in fill_slots_from_thread()
2613 if (new_thread == old_trial) in fill_slots_from_thread()
2614 new_thread = trial; in fill_slots_from_thread()
2632 if (new_thread == old_trial) in fill_slots_from_thread()
2633 new_thread = trial; in fill_slots_from_thread()
2665 if (new_thread == trial) in fill_slots_from_thread()
[all …]
DChangeLog-200111030 steal_delay_list_from_target, update own_thread as new_thread may
/freebsd-10-stable/contrib/apr/include/
Dapr_thread_proc.h266 APR_DECLARE(apr_status_t) apr_thread_create(apr_thread_t **new_thread,
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Commands/
DCommandObjectThread.cpp1245 Thread *new_thread = process->GetThreadList().FindThreadByIndexID(index_id).get(); in DoExecute() local
1246 if (new_thread == NULL) in DoExecute()
1253 process->GetThreadList().SetSelectedThreadByID(new_thread->GetID(), true); in DoExecute()