rayon_core::sleep

Module counters

Source

Structs§

Constants§

  • Bits to shift to select the inactive threads (used with select_bits).
  • JEC_SHIFT 🔒
    Bits to shift to select the JEC (use JOBS_BITS).
  • Constant that can be added to add one inactive thread. An inactive thread is either idle, sleepy, or sleeping.
  • ONE_JEC 🔒
    Constant that can be added to add one to the JEC.
  • Constant that can be added to add one sleeping thread.
  • Bits to shift to select the sleeping threads (used with select_bits).
  • Number of bits used for the thread counters.
  • Max value for the thread counters.

Functions§