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ยง
- LOCA
L_ ๐QUEU E_ CAPACITY - MASK ๐
Functionsยง
- local ๐Create a new local run-queue
- make_
fixed_ ๐size - pack ๐Join the two head values
- unpack ๐Split the head value into the real head and the index a stealer is working on.
Type Aliasesยง
- Atomic
Unsigned ๐Long - Atomic
Unsigned ๐Short - Unsigned
Long ๐ - Unsigned
Short ๐