Module tokio::runtime::scheduler::current_thread

source ยท

Structsยง

  • Context ๐Ÿ”’
    Thread-local context.
  • Core ๐Ÿ”’
    Data required for executing the scheduler. The struct is passed around to a function that will perform the scheduling work and acts as a capability token.
  • CoreGuard ๐Ÿ”’
    Used to ensure we always place the Core value back into its slot in CurrentThread, even if the future panics.
  • CurrentThread ๐Ÿ”’
    Executes tasks on the current thread
  • Handle ๐Ÿ”’
    Handle to the current thread scheduler
  • Shared ๐Ÿ”’
    Scheduler state shared between threads.

Constantsยง

  • Used if none is specified. This is a temporary constant and will be removed as we unify tuning logic between the multi-thread and current-thread schedulers.
  • INITIAL_CAPACITY ๐Ÿ”’
    Initial queue capacity.

Functionsยง

Type Aliasesยง