Gaia-ECS v1.0.0
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::ecs::detail::QueryImpl::ParallelSlot Class Referencefinal

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
 
ParallelSlotoperator= (ParallelSlot &&)=delete
 
ParallelSlotoperator= (const ParallelSlot &)=delete
 

Detailed Description

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.


The documentation for this class was generated from the following file: