Home
last modified time | relevance | path

Searched refs:thread (Results 76 - 100 of 2259) sorted by relevance

12345678910>>...91

/third_party/python/Lib/test/
H A Dtest_thread.py6 import _thread as thread namespace
18 _print_mutex = thread.allocate_lock()
30 self.done_mutex = thread.allocate_lock()
32 self.running_mutex = thread.allocate_lock()
33 self.random_mutex = thread.allocate_lock()
48 thread.start_new_thread(self.task, (self.next_ident,))
65 # Basic test for thread creation.
74 self.assertEqual(thread.stack_size(), 0, "initial stack size is not 0")
76 thread.stack_size(0)
77 self.assertEqual(thread
[all...]
/third_party/vk-gl-cts/framework/delibs/dethread/
H A DdeThreadTest.c96 deThread thread = deThread_create(threadTestThr1, &val, DE_NULL); in deThread_selfTest() local
97 DE_TEST_ASSERT(thread); in deThread_selfTest()
99 ret = deThread_join(thread); in deThread_selfTest()
102 deThread_destroy(thread); in deThread_selfTest()
107 deThread thread = deThread_create(threadTestThr2, DE_NULL, DE_NULL); in deThread_selfTest() local
109 DE_TEST_ASSERT(thread); in deThread_selfTest()
111 ret = deThread_join(thread); in deThread_selfTest()
114 deThread_destroy(thread); in deThread_selfTest()
120 deThread thread; in deThread_selfTest() local
126 thread in deThread_selfTest()
141 deThread thread; deThread_selfTest() local
158 deThread thread; deThread_selfTest() local
277 deThread thread; deMutex_selfTest() local
337 deThread thread; deMutex_selfTest() local
637 deThread thread = deThread_create(singletonTestThread, &initTimeMs, DE_NULL); runSingletonThreadedTest() local
649 deThread thread = deThreadArray_get(threads, threadNdx); runSingletonThreadedTest() local
[all...]
/third_party/libuv/test/
H A Dtest-thread.c116 struct test_thread* thread = arg; in do_work() local
136 thread->thread_called = 1; in do_work()
162 /* Hilariously bad test name. Run a lot of tasks in the thread pool and verify
163 * that each "finished" callback is run in its originating thread.
221 /* 512 kB is the default stack size of threads other than the main thread in thread_check_stack()
246 uv_thread_t thread; in TEST_IMPL() local
247 ASSERT_OK(uv_thread_create(&thread, thread_check_stack, NULL)); in TEST_IMPL()
248 ASSERT_OK(uv_thread_join(&thread)); in TEST_IMPL()
253 uv_thread_t thread; in TEST_IMPL() local
258 ASSERT_OK(uv_thread_create_ex(&thread, in TEST_IMPL()
[all...]
/kernel/linux/linux-5.10/arch/arm/vfp/
H A Dvfpmodule.c48 * The pointer to the vfpstate structure of the thread which currently
52 * For UP, this is sufficient to tell which thread owns the VFP context.
59 * Is 'thread's most up to date state stored in this CPUs hardware?
62 static bool vfp_state_in_hw(unsigned int cpu, struct thread_info *thread) in vfp_state_in_hw() argument
65 if (thread->vfpstate.hard.cpu != cpu) in vfp_state_in_hw()
68 return vfp_current_hw_state[cpu] == &thread->vfpstate; in vfp_state_in_hw()
72 * Force a reload of the VFP context from the thread structure. We do
76 static void vfp_force_reload(unsigned int cpu, struct thread_info *thread) in vfp_force_reload() argument
78 if (vfp_state_in_hw(cpu, thread)) { in vfp_force_reload()
83 thread in vfp_force_reload()
90 vfp_thread_flush(struct thread_info *thread) vfp_thread_flush() argument
118 vfp_thread_exit(struct thread_info *thread) vfp_thread_exit() argument
129 vfp_thread_copy(struct thread_info *thread) vfp_thread_copy() argument
161 struct thread_info *thread = v; vfp_notifier() local
516 vfp_sync_hwstate(struct thread_info *thread) vfp_sync_hwstate() argument
535 vfp_flush_hwstate(struct thread_info *thread) vfp_flush_hwstate() argument
551 struct thread_info *thread = current_thread_info(); vfp_preserve_user_clear_hwstate() local
589 struct thread_info *thread = current_thread_info(); vfp_restore_user_hwstate() local
716 struct thread_info *thread = current_thread_info(); kernel_neon_begin() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dthread_identity_test.cc17 #include <thread> // NOLINT(build/c++11)
66 // This tests for the main() thread. in TEST()
75 // - If a thread implementation chooses to recycle threads, that in TEST()
80 std::vector<std::thread> threads; in TEST()
83 std::thread(TestThreadIdentityCurrent, kCheckNoIdentity)); in TEST()
85 for (auto& thread : threads) { in TEST()
86 thread.join(); in TEST()
110 std::vector<std::thread> threads; in TEST()
111 for (int thread = 0; thread < kNumThread in TEST()
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dmachine.c25 #include "thread.h"
47 struct thread *th, bool lock);
79 return to_find - (int)thread__tid(rb_entry(nd, struct thread_rb_node, rb_node)->thread); in thread_rb_node__cmp_tid()
82 static struct thread_rb_node *thread_rb_node__find(const struct thread *th, in thread_rb_node__find()
104 static void thread__set_guest_comm(struct thread *thread, pid_t pid) in thread__set_guest_comm() argument
109 thread__set_comm(thread, comm, 0); in thread__set_guest_comm()
145 struct thread *thread = machine__findnew_thread(machine, -1, in machine__init() local
148 if (thread in machine__init()
433 struct thread *thread; findnew_guest_code() local
729 struct thread *thread = machine__findnew_thread(machine, 0, 0); machine__idle_thread() local
738 machine__thread_exec_comm(struct machine *machine, struct thread *thread) machine__thread_exec_comm() argument
750 struct thread *thread = machine__findnew_thread(machine, machine__process_comm_event() local
777 struct thread *thread = machine__findnew_thread(machine, machine__process_namespaces_event() local
1930 struct thread *thread; machine__process_mmap2_event() local
1998 struct thread *thread; machine__process_mmap_event() local
2088 struct thread *thread = machine__find_thread(machine, machine__process_fork_event() local
2154 struct thread *thread = machine__find_thread(machine, machine__process_exit_event() local
2221 ip__resolve_ams(struct thread *thread, struct addr_map_symbol *ams, u64 ip) ip__resolve_ams() argument
2248 ip__resolve_data(struct thread *thread, u8 m, struct addr_map_symbol *ams, u64 addr, u64 phys_addr, u64 daddr_page_size) ip__resolve_data() argument
2314 add_callchain_ip(struct thread *thread, struct callchain_cursor *cursor, struct symbol **parent, struct addr_location *root_al, u8 *cpumode, u64 ip, bool branch, struct branch_flags *flags, struct iterations *iter, u64 branch_from) add_callchain_ip() argument
2483 lbr_callchain_add_kernel_ip(struct thread *thread, struct callchain_cursor *cursor, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, u64 branch_from, bool callee, int end) lbr_callchain_add_kernel_ip() argument
2517 save_lbr_cursor_node(struct thread *thread, struct callchain_cursor *cursor, int idx) save_lbr_cursor_node() argument
2542 lbr_callchain_add_lbr_ip(struct thread *thread, struct callchain_cursor *cursor, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, u64 *branch_from, bool callee) lbr_callchain_add_lbr_ip() argument
2643 lbr_callchain_add_stitched_lbr_ip(struct thread *thread, struct callchain_cursor *cursor) lbr_callchain_add_stitched_lbr_ip() argument
2668 get_stitch_node(struct thread *thread) get_stitch_node() argument
2684 has_stitched_lbr(struct thread *thread, struct perf_sample *cur, struct perf_sample *prev, unsigned int max_lbr, bool callee) has_stitched_lbr() argument
2756 alloc_lbr_stitch(struct thread *thread, unsigned int max_lbr) alloc_lbr_stitch() argument
2791 resolve_lbr_callchain_sample(struct thread *thread, struct callchain_cursor *cursor, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, int max_stack, unsigned int max_lbr) resolve_lbr_callchain_sample() argument
2874 find_prev_cpumode(struct ip_callchain *chain, struct thread *thread, struct callchain_cursor *cursor, struct symbol **parent, struct addr_location *root_al, u8 *cpumode, int ent) find_prev_cpumode() argument
2895 get_leaf_frame_caller(struct perf_sample *sample, struct thread *thread, int usr_idx) get_leaf_frame_caller() argument
2904 thread__resolve_callchain_sample(struct thread *thread, struct callchain_cursor *cursor, struct evsel *evsel, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, int max_stack) thread__resolve_callchain_sample() argument
3152 thread__resolve_callchain_unwind(struct thread *thread, struct callchain_cursor *cursor, struct evsel *evsel, struct perf_sample *sample, int max_stack) thread__resolve_callchain_unwind() argument
3172 thread__resolve_callchain(struct thread *thread, struct callchain_cursor *cursor, struct evsel *evsel, struct perf_sample *sample, struct symbol **parent, struct addr_location *root_al, int max_stack) thread__resolve_callchain() argument
3212 machine__for_each_thread(struct machine *machine, int (*fn)(struct thread *thread, void *p), void *priv) machine__for_each_thread() argument
3235 machines__for_each_thread(struct machines *machines, int (*fn)(struct thread *thread, void *p), void *priv) machines__for_each_thread() argument
3267 struct thread *thread; machine__set_current_tid() local
[all...]
H A Ddb-export.h15 struct thread;
44 int (*export_thread)(struct db_export *dbe, struct thread *thread,
47 struct thread *thread);
49 struct comm *comm, struct thread *thread);
84 int db_export__thread(struct db_export *dbe, struct thread *thread,
85 struct machine *machine, struct thread *main_threa
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsignal_64.c107 struct pt_regs *regs = tsk->thread.regs; in setup_sigcontext()
119 if (tsk->thread.used_vr) { in setup_sigcontext()
122 err |= __copy_to_user(v_regs, &tsk->thread.vr_state, in setup_sigcontext()
135 tsk->thread.vrsave = vrsave; in setup_sigcontext()
157 if (tsk->thread.used_vsr && ctx_has_vsx_region) { in setup_sigcontext()
210 struct pt_regs *regs = tsk->thread.regs; in setup_tm_sigcontexts()
223 msr |= tsk->thread.ckpt_regs.msr & (MSR_FP | MSR_VEC | MSR_VSX); in setup_tm_sigcontexts()
230 if (tsk->thread.used_vr) { in setup_tm_sigcontexts()
232 err |= __copy_to_user(v_regs, &tsk->thread.ckvr_state, in setup_tm_sigcontexts()
239 &tsk->thread in setup_tm_sigcontexts()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_object_blt.c205 struct igt_thread_arg *thread = arg; in igt_fill_blt_thread() local
206 struct intel_engine_cs *engine = thread->engine; in igt_fill_blt_thread()
207 struct rnd_state *prng = &thread->prng; in igt_fill_blt_thread()
216 ctx = thread->ctx; in igt_fill_blt_thread()
218 ctx = live_context_for_engine(engine, thread->file); in igt_fill_blt_thread()
234 if (i915_is_ggtt(ce->vm) || thread->ctx) in igt_fill_blt_thread()
235 max = div_u64(max, thread->n_cpus); in igt_fill_blt_thread()
323 struct igt_thread_arg *thread = arg; in igt_copy_blt_thread() local
324 struct intel_engine_cs *engine = thread->engine; in igt_copy_blt_thread()
325 struct rnd_state *prng = &thread in igt_copy_blt_thread()
464 struct igt_thread_arg *thread; igt_threaded_blt() local
[all...]
/kernel/linux/linux-5.10/arch/m68k/mm/
H A Dfault.c27 signo = current->thread.signo; in send_fault_sig()
28 si_code = current->thread.code; in send_fault_sig()
29 addr = (void __user *)current->thread.faddr; in send_fault_sig()
185 current->thread.signo = SIGBUS; in do_page_fault()
186 current->thread.faddr = address; in do_page_fault()
190 current->thread.signo = SIGBUS; in do_page_fault()
191 current->thread.code = BUS_ADRERR; in do_page_fault()
192 current->thread.faddr = address; in do_page_fault()
196 current->thread.signo = SIGSEGV; in do_page_fault()
197 current->thread in do_page_fault()
[all...]
/kernel/linux/linux-6.6/arch/m68k/mm/
H A Dfault.c27 signo = current->thread.signo; in send_fault_sig()
28 si_code = current->thread.code; in send_fault_sig()
29 addr = (void __user *)current->thread.faddr; in send_fault_sig()
189 current->thread.signo = SIGBUS; in do_page_fault()
190 current->thread.faddr = address; in do_page_fault()
194 current->thread.signo = SIGBUS; in do_page_fault()
195 current->thread.code = BUS_ADRERR; in do_page_fault()
196 current->thread.faddr = address; in do_page_fault()
202 current->thread.signo = SIGSEGV; in do_page_fault()
203 current->thread in do_page_fault()
[all...]
/third_party/mbedtls/tests/src/
H A Dthreading_helpers.c18 static int threading_thread_create_pthread(mbedtls_test_thread_t *thread, void *(*thread_func)( in threading_thread_create_pthread() argument
21 if (thread == NULL || thread_func == NULL) { in threading_thread_create_pthread()
25 if (pthread_create(&thread->thread, NULL, thread_func, thread_data)) { in threading_thread_create_pthread()
32 static int threading_thread_join_pthread(mbedtls_test_thread_t *thread) in threading_thread_join_pthread() argument
34 if (thread == NULL) { in threading_thread_join_pthread()
38 if (pthread_join(thread->thread, NULL) != 0) { in threading_thread_join_pthread()
45 int (*mbedtls_test_thread_create)(mbedtls_test_thread_t *thread, void *(*thread_func)(void *),
47 int (*mbedtls_test_thread_join)(mbedtls_test_thread_t *thread)
53 threading_thread_create_fail(mbedtls_test_thread_t *thread, void *(*thread_func)(void *), void *thread_data) threading_thread_create_fail() argument
64 threading_thread_join_fail(mbedtls_test_thread_t *thread) threading_thread_join_fail() argument
[all...]
/kernel/linux/linux-5.10/arch/m68k/kernel/
H A Dprocess.c95 current->thread.fs = __USER_DS; in flush_thread()
151 p->thread.ksp = (unsigned long)frame; in copy_thread()
152 p->thread.esp0 = (unsigned long)&frame->regs; in copy_thread()
158 p->thread.fs = get_fs().seg; in copy_thread()
161 /* kernel thread */ in copy_thread()
167 p->thread.usp = 0; in copy_thread()
174 p->thread.usp = usp ?: rdusp(); in copy_thread()
182 asm volatile ("fsave %0" : : "m" (p->thread.fpstate[0]) : "memory"); in copy_thread()
184 if (!CPU_IS_060 ? p->thread.fpstate[0] : p->thread in copy_thread()
[all...]
/kernel/linux/linux-6.6/arch/m68k/kernel/
H A Dprocess.c95 current->thread.fc = USER_DATA; in flush_thread()
153 p->thread.ksp = (unsigned long)frame; in copy_thread()
154 p->thread.esp0 = (unsigned long)&frame->regs; in copy_thread()
160 p->thread.fc = USER_DATA; in copy_thread()
163 /* kernel thread */ in copy_thread()
169 p->thread.usp = 0; in copy_thread()
176 p->thread.usp = usp ?: rdusp(); in copy_thread()
184 asm volatile ("fsave %0" : : "m" (p->thread.fpstate[0]) : "memory"); in copy_thread()
186 if (!CPU_IS_060 ? p->thread.fpstate[0] : p->thread in copy_thread()
[all...]
/third_party/python/Modules/
H A Dfaulthandler.c96 /* The main thread always holds this lock. It is only released when
97 faulthandler_thread() is interrupted before this thread exits, or at
100 /* released by child thread when joined */
102 } thread; variable
214 /* Get the state of the current thread: only call this function if the current
215 thread holds the GIL. Raise an exception on error. */
223 "unable to get the current thread state"); in get_thread_state()
242 are thus delivered to the thread that caused the fault. Get the Python in faulthandler_dump_traceback()
243 thread state of the current thread in faulthandler_dump_traceback()
1098 long thread; faulthandler_fatal_error_c_thread() local
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dptrace.c43 struct thread_struct *thread = &task->thread; in update_cr_regs() local
57 if (task->thread.per_flags & PER_FLAG_NO_TE) in update_cr_regs()
61 if (task->thread.per_flags & PER_FLAG_TE_ABORT_RAND) { in update_cr_regs()
62 if (task->thread.per_flags & PER_FLAG_TE_ABORT_RAND_TEND) in update_cr_regs()
71 if (task->thread.gs_cb) in update_cr_regs()
82 new.control = thread->per_user.control; in update_cr_regs()
83 new.start = thread->per_user.start; in update_cr_regs()
84 new.end = thread->per_user.end; in update_cr_regs()
137 memset(&task->thread in ptrace_disable()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
H A Dptrace-view.c111 return task->thread.regs->msr | task->thread.fpexc_mode; in get_user_msr()
116 task->thread.regs->msr &= ~MSR_DEBUGCHANGE; in set_user_msr()
117 task->thread.regs->msr |= msr & MSR_DEBUGCHANGE; in set_user_msr()
124 *data = task->thread.dscr; in get_user_dscr()
130 task->thread.dscr = dscr; in set_user_dscr()
131 task->thread.dscr_inherit = 1; in set_user_dscr()
152 set_trap(task->thread.regs, trap); in set_user_trap()
163 if (task->thread.regs == NULL || !data) in ptrace_get_reg()
187 *data = ((unsigned long *)task->thread in ptrace_get_reg()
[all...]
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dfpsimd.c218 kfree(task->thread.sve_state); in __sve_free()
219 task->thread.sve_state = NULL; in __sve_free()
246 * task->thread.sve_state, formatted appropriately for vector
247 * length task->thread.sve_vl.
249 * task->thread.sve_state must point to a valid buffer at least
262 * task->thread.uw.fpsimd_state; bits [max : 128] for each of Z0-Z31 are
268 * task->thread.sve_state does not need to be non-NULL, valid or any
271 * * FPSR and FPCR are always stored in task->thread.uw.fpsimd_state
289 sve_load_state(sve_pffr(&current->thread), in task_fpsimd_load()
290 &current->thread in task_fpsimd_load()
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dptrace.c46 struct thread_struct *thread = &task->thread; in update_cr_regs() local
60 if (task->thread.per_flags & PER_FLAG_NO_TE) in update_cr_regs()
64 if (task->thread.per_flags & PER_FLAG_TE_ABORT_RAND) { in update_cr_regs()
65 if (task->thread.per_flags & PER_FLAG_TE_ABORT_RAND_TEND) in update_cr_regs()
74 if (task->thread.gs_cb) in update_cr_regs()
85 new.control = thread->per_user.control; in update_cr_regs()
86 new.start = thread->per_user.start; in update_cr_regs()
87 new.end = thread->per_user.end; in update_cr_regs()
140 memset(&task->thread in ptrace_disable()
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dprocess.c75 /* New thread loses kernel privileges. */ in start_thread()
88 current->thread.fpu.fcsr = boot_cpu_data.fpu_csr0; in start_thread()
130 memcpy(dst, src, offsetof(struct task_struct, thread.fpu.fpr)); in arch_dup_task_struct()
132 memcpy(dst, src, offsetof(struct task_struct, thread.lbt.scr0)); in arch_dup_task_struct()
135 memcpy(&dst->thread.lbt, &src->thread.lbt, sizeof(struct loongarch_lbt)); in arch_dup_task_struct()
142 * Copy architecture-specific thread state
158 p->thread.sched_cfa = 0; in copy_thread()
159 p->thread.csr_euen = 0; in copy_thread()
160 p->thread in copy_thread()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dsignal.c37 buf[i] = task->thread.TS_FPR(i); in copy_fpr_to_user()
38 buf[i] = task->thread.fp_state.fpscr; in copy_fpr_to_user()
51 task->thread.TS_FPR(i) = buf[i]; in copy_fpr_from_user()
52 task->thread.fp_state.fpscr = buf[i]; in copy_fpr_from_user()
65 buf[i] = task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_vsx_to_user()
78 task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_vsx_from_user()
91 buf[i] = task->thread.TS_CKFPR(i); in copy_ckfpr_to_user()
92 buf[i] = task->thread.ckfp_state.fpscr; in copy_ckfpr_to_user()
105 task->thread.TS_CKFPR(i) = buf[i]; in copy_ckfpr_from_user()
106 task->thread in copy_ckfpr_from_user()
[all...]
/third_party/node/src/inspector/
H A Dmain_thread_interface.cc24 static T* get(MainThreadInterface* thread, int id) { in get() argument
26 static_cast<DeletableWrapper<T>*>(thread->GetObject(id))->object_.get(); in get()
45 void Call(MainThreadInterface* thread) override {
46 thread->AddObject(object_id_, WrapInDeletable(factory_(thread)));
64 void Call(MainThreadInterface* thread) override {
65 thread->RemoveObject(object_id_);
77 void Call(MainThreadInterface* thread) override {
78 fn_(DeletableWrapper<Target>::get(thread, id_));
90 std::shared_ptr<MainThreadHandle> thread, in in AnotherThreadObjectReference()
89 AnotherThreadObjectReference( std::shared_ptr<MainThreadHandle> thread, int object_id) AnotherThreadObjectReference() argument
94 AnotherThreadObjectReference( std::shared_ptr<MainThreadHandle> thread, Factory factory) AnotherThreadObjectReference() argument
133 MainThreadSessionState(MainThreadInterface* thread, bool prevent_shutdown) MainThreadSessionState() argument
137 Create( MainThreadInterface* thread, bool prevent_shutdown) Create() argument
160 CrossThreadInspectorSession( int id, std::shared_ptr<MainThreadHandle> thread, std::unique_ptr<InspectorSessionDelegate> delegate, bool prevent_shutdown) CrossThreadInspectorSession() argument
182 ThreadSafeDelegate(std::shared_ptr<MainThreadHandle> thread, int object_id) ThreadSafeDelegate() argument
[all...]
/third_party/node/deps/cares/src/lib/
H A Dares__threads.c138 HANDLE thread; member
149 ares__thread_t *thread = lpParameter; in ares__thread_func() local
151 thread->rv = thread->func(thread->arg); in ares__thread_func()
155 ares_status_t ares__thread_create(ares__thread_t **thread, in ares__thread_create() argument
160 if (func == NULL || thread == NULL) { in ares__thread_create()
171 thr->thread = CreateThread(NULL, 0, ares__thread_func, thr, 0, &thr->id); in ares__thread_create()
172 if (thr->thread == NULL) { in ares__thread_create()
177 *thread in ares__thread_create()
181 ares__thread_join(ares__thread_t *thread, void **rv) ares__thread_join() argument
368 pthread_t thread; global() member
371 ares__thread_create(ares__thread_t **thread, ares__thread_func_t func, void *arg) ares__thread_create() argument
393 ares__thread_join(ares__thread_t *thread, void **rv) ares__thread_join() argument
481 ares__thread_create(ares__thread_t **thread, ares__thread_func_t func, void *arg) ares__thread_create() argument
490 ares__thread_join(ares__thread_t *thread, void **rv) ares__thread_join() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Ddb-export.h15 struct thread;
44 int (*export_thread)(struct db_export *dbe, struct thread *thread,
47 struct thread *thread);
49 struct comm *comm, struct thread *thread);
84 int db_export__thread(struct db_export *dbe, struct thread *thread,
85 struct machine *machine, struct thread *main_threa
[all...]
/third_party/pulseaudio/src/pulsecore/
H A Dthread-win32.c31 #include "thread.h"
34 HANDLE thread; member
45 HANDLE thread; member
81 t->thread = CreateThread(NULL, 0, internal_thread_func, t, 0, &thread_id); in pa_thread_new()
83 if (!t->thread) { in pa_thread_new()
96 if (!GetExitCodeThread(t->thread, &code)) in pa_thread_is_running()
106 CloseHandle(t->thread); in pa_thread_free()
113 CloseHandle(t->thread); in pa_thread_free_nojoin()
120 if (WaitForSingleObject(t->thread, INFINITE) == WAIT_FAILED) in pa_thread_join()
160 WaitForSingleObject(m->thread, INFINIT in monitor_thread_func()
219 HANDLE thread; pa_tls_set() local
[all...]

Completed in 15 milliseconds

12345678910>>...91