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
)
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 2023-12-14 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2023-12-14 UTC."}