Expand description
Run-queue structures to support a work-stealing scheduler
Structs§
- Inner 🔒
- Local 🔒Producer handle. May only be used from a single thread.
- Steal 🔒Consumer handle. May be used from many threads.
Constants§
- MASK 🔒
Functions§
- local 🔒Create a new local run-queue
- pack 🔒Join the two head values
- unpack 🔒Split the head value into the real head and the index a stealer is working on.