class thread
Defined at line 17 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
Public Members
static const zx_obj_type_t TYPE
Public Methods
zx_status_t create (const process & process, const char * name, uint32_t name_len, uint32_t flags, thread * result)
Rather than creating a thread directly with this syscall, consider using
std::thread or thrd_create, which properly integrates with the
thread-local data structures in libc.
Defined at line 13 of file ../../zircon/system/ulib/zx/thread.cc
void thread ()
Defined at line 21 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
void thread (zx_handle_t value)
Defined at line 23 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
void thread (handle && h)
Defined at line 25 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
void thread (thread && other)
Defined at line 27 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
thread & operator= (thread && other)
Defined at line 29 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
zx_status_t start (uintptr_t thread_entry, uintptr_t stack, uintptr_t arg1, uintptr_t arg2)
The first variant maps exactly to the syscall and can be used for
launching threads in remote processes. The second variant is for
conveniently launching threads in the current process.
Defined at line 43 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
zx_status_t start (void (*)(uintptr_t, uintptr_t) thread_entry, void * stack, uintptr_t arg1, uintptr_t arg2)
Defined at line 47 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
zx_status_t read_state (uint32_t kind, void * buffer, size_t len)
Defined at line 53 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
zx_status_t write_state (uint32_t kind, const void * buffer, size_t len)
Defined at line 56 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
zx_status_t raise_exception (uint32_t options, zx_excp_type_t type, const zx_exception_context_t * context)
Defined at line 61 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h
unowned<thread> self ()
Defined at line 67 of file ../../zircon/system/ulib/zx/include/lib/zx/thread.h