![]() |
Gaia-ECS v1.0.0
A simple and powerful entity component system
|
Binds a parallel work-item range to its shared deferred-notification slot for the lifetime of the scope. Work items are distributed in disjoint ranges, so the first item of a range identifies a queue no other thread writes to. Both the observer (OnSet) and sorted-query-invalidation deferral channels read this same slot, so a single binding serves both.
More...
#include <query.h>
Public Member Functions | |
| ParallelSlot (uint32_t idxStart) | |
| ParallelSlot (ParallelSlot &&)=delete | |
| ParallelSlot (const ParallelSlot &)=delete | |
| ParallelSlot & | operator= (ParallelSlot &&)=delete |
| ParallelSlot & | operator= (const ParallelSlot &)=delete |
Binds a parallel work-item range to its shared deferred-notification slot for the lifetime of the scope. Work items are distributed in disjoint ranges, so the first item of a range identifies a queue no other thread writes to. Both the observer (OnSet) and sorted-query-invalidation deferral channels read this same slot, so a single binding serves both.