Module aarch64_std::thread
source · Structs
Thread factory, which can be used in order to configure the properties of
a new thread.
A handle to a thread.
A unique identifier for a running thread.
Functions
This is a non-standard function that should be called by a hardware or OS thread. The
native thread will contribute its CPU time to the runtime’s green threads and returns if
there are no green threads that currently need to be driven (at which point you may just
want to call this function again).
Gets a handle to the thread that invokes it.
Blocks unless or until the current thread’s token is made available.
Blocks unless or until the current thread’s token is made available or
the specified duration has been reached (may wake spuriously).
Puts the current thread to sleep for at least the specified amount of time.
Spawns a new thread, returning a
JoinHandle for it.Cooperatively gives up a timeslice to the scheduler.