Lines Matching full:thread
2 * Win32 implementation for mutex/cond/thread functions
15 #include "qemu/thread.h"
17 #include "qemu-thread-common.h"
52 fprintf(stderr, "qemu: thread naming not supported on this host\n"); in qemu_thread_naming()
302 void *qemu_thread_join(QemuThread *thread) in qemu_thread_join() argument
308 data = thread->data; in qemu_thread_join()
320 handle = qemu_thread_get_handle(thread); in qemu_thread_join()
350 void qemu_thread_create(QemuThread *thread, const char *name, in qemu_thread_create() argument
369 data, 0, &thread->tid); in qemu_thread_create()
374 fprintf(stderr, "qemu: failed to set thread description: %s\n", name); in qemu_thread_create()
378 thread->data = data; in qemu_thread_create()
381 int qemu_thread_set_affinity(QemuThread *thread, unsigned long *host_cpus, in qemu_thread_set_affinity() argument
387 int qemu_thread_get_affinity(QemuThread *thread, unsigned long **host_cpus, in qemu_thread_get_affinity() argument
393 void qemu_thread_get_self(QemuThread *thread) in qemu_thread_get_self() argument
395 thread->data = qemu_thread_data; in qemu_thread_get_self()
396 thread->tid = GetCurrentThreadId(); in qemu_thread_get_self()
399 HANDLE qemu_thread_get_handle(QemuThread *thread) in qemu_thread_get_handle() argument
404 data = thread->data; in qemu_thread_get_handle()
412 THREAD_SET_CONTEXT, FALSE, thread->tid); in qemu_thread_get_handle()
420 bool qemu_thread_is_self(QemuThread *thread) in qemu_thread_is_self() argument
422 return GetCurrentThreadId() == thread->tid; in qemu_thread_is_self()