Foundation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Foundation::Core::JobBarrierState Struct Reference

Public Member Functions

 JobBarrierState (Allocator *allocator)
 
void Complete () noexcept
 

Public Attributes

Mutex mutex
 
Vector< JobHandlejobs
 
Atomic< size_t > pending {0}
 
bool waiting {}
 

Constructor & Destructor Documentation

◆ JobBarrierState()

Foundation::Core::JobBarrierState::JobBarrierState ( Allocator allocator)
inlineexplicit

Member Function Documentation

◆ Complete()

void Foundation::Core::JobBarrierState::Complete ( )
inlinenoexcept

Member Data Documentation

◆ jobs

Vector<JobHandle> Foundation::Core::JobBarrierState::jobs

◆ mutex

Mutex Foundation::Core::JobBarrierState::mutex

◆ pending

Atomic<size_t> Foundation::Core::JobBarrierState::pending {0}

◆ waiting

bool Foundation::Core::JobBarrierState::waiting {}

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