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 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
)
raise_exception
zx_status_t raise_exception(
uint32_t options,
zx_excp_type_t type,
const zx_exception_context_t *context
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-27 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-27 UTC."],[],[]]