Module tokio::loom::std::hint

source ·

Functions

  • spin_loop 🔒
    Emits a machine instruction to signal the processor that it is running in a busy-wait spin-loop (“spin lock”).