Expand description
Runs !Send
futures on the current thread.
Structsยง
- Context ๐
- State available from the thread-local.
- Local
Data ๐ - Local
Data ๐Enter Guard - A guard for
LocalData::enter()
- Local
Enter Guard - Context guard for
LocalSet
- Local
Set - A set of tasks which are executed on the same thread.
- Local
State ๐ - Tracks the
LocalSet
state that must only be accessed from the thread that created theLocalSet
. - RunUntil ๐
- Shared ๐
LocalSet
state shared between threads.
Constantsยง
- CURRENT ๐
- INITIAL_
CAPACITY ๐ - Initial queue capacity.
- MAX_
TASKS_ ๐PER_ TICK - Max number of tasks to poll per tick.
- REMOTE_
FIRST_ ๐INTERVAL - How often it check the remote queue first.
Functionsยง
- spawn_
local - Spawns a
!Send
future on the currentLocalSet
orLocalRuntime
. - spawn_
local_ ๐inner