Library guide · API index and notation
This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.
import "std/thread/windows"
This is a provider or implementation package. Start with the linked guide’s application API; native declarations depend on the selected target.
Names used in signatures
Unqualified names denote this package’s types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.
This package has no source imports.
dodo_thread_start
Function · Source
C boundary uses pointer/word primitives only. Native pthread_t, HANDLE and callback ABIs are declared against target headers in the selected adapter.
pub extern "C" fn dodo_thread_start(storage: *mut u8, callback: *const u8, argument: *mut u8) -> i32
dodo_thread_join
Function · Source
pub extern "C" fn dodo_thread_join(storage: *mut u8)
dodo_thread_detach
Function · Source
pub extern "C" fn dodo_thread_detach(storage: *mut u8)
dodo_thread_yield
Function · Source
pub extern "C" fn dodo_thread_yield()
dodo_thread_sleep
Function · Source
pub extern "C" fn dodo_thread_sleep(milliseconds: u32)
dodo_thread_allocate
Function · Source
pub extern "C" fn dodo_thread_allocate(size: usize, align: usize, error: *mut i32) -> *mut u8
dodo_thread_free
Function · Source
pub extern "C" fn dodo_thread_free(pointer: *mut u8, size: usize)