zx::thread
Summary
Inheritance
Inherits from:
zx::task< thread >
Public static attributes
|
TYPE = ZX_OBJ_TYPE_THREAD
|
constexpr zx_obj_type_t
|
Public functions
|
operator=(thread && other)
|
|
read_state(uint32_t kind, void *buffer, size_t len)
|
zx_status_t
|
start(uintptr_t thread_entry, uintptr_t stack, uintptr_t arg1, uintptr_t arg2)
|
zx_status_t
|
start(void(*)(uintptr_t arg1, uintptr_t arg2) thread_entry, void *stack, uintptr_t arg1, uintptr_t arg2)
|
zx_status_t
|
write_state(uint32_t kind, const void *buffer, size_t len)
|
zx_status_t
|
Public static functions
|
create(const process & process, const char *name, uint32_t name_len, uint32_t flags, thread *result)
|
zx_status_t
|
self()
|
|
Public static attributes
TYPE
constexpr zx_obj_type_t TYPE = ZX_OBJ_TYPE_THREAD
Public functions
read_state
zx_status_t read_state(
uint32_t kind,
void *buffer,
size_t len
)
start
zx_status_t start(
uintptr_t thread_entry,
uintptr_t stack,
uintptr_t arg1,
uintptr_t arg2
)
start
zx_status_t start(
void(*)(uintptr_t arg1, uintptr_t arg2) thread_entry,
void *stack,
uintptr_t arg1,
uintptr_t arg2
)
thread
constexpr thread()=default
thread
thread(
zx_handle_t value
)
thread
thread(
thread && other
)
write_state
zx_status_t write_state(
uint32_t kind,
const void *buffer,
size_t len
)
Public static functions
create
zx_status_t create(
const process & process,
const char *name,
uint32_t name_len,
uint32_t flags,
thread *result
)