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ยง
- LOCAL_QUEUE_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ยง
- AtomicUnsignedLong ๐
- AtomicUnsignedShort ๐
- UnsignedLong ๐
- UnsignedShort ๐