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
LocalSetstate that must only be accessed from the thread that created theLocalSet. - RunUntil ๐
- Shared ๐
LocalSetstate 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
!Sendfuture on the currentLocalSetorLocalRuntime. - spawn_
local_ ๐inner