Lumiera  0.pre.03
»edit your freedom«
SchedulerCommutator::ScopedGroomingGuard Class Reference

Description

Definition at line 412 of file scheduler-commutator.hpp.

Public Member Functions

 ScopedGroomingGuard (SchedulerCommutator &layer2)
 

Private Member Functions

bool ensureHoldsToken ()
 
- Private Member Functions inherited from MoveOnly
 MoveOnly (MoveOnly &&)=default
 
 MoveOnly (MoveOnly const &)=delete
 
MoveOnlyoperator= (MoveOnly &&)=delete
 
MoveOnlyoperator= (MoveOnly const &)=delete
 

Private Attributes

SchedulerCommutatorcommutator_
 
bool handledActively_
 

Constructor & Destructor Documentation

◆ ScopedGroomingGuard()

Warning
can block indefinitely if someone hogs the token

Definition at line 430 of file scheduler-commutator.hpp.

References SchedulerCommutator::dropGroomingToken(), SchedulerCommutator::holdsGroomingToken(), and vault::gear::anonymous_namespace{scheduler-commutator.hpp}::thisThread().

+ Here is the call graph for this function:
+ Inheritance diagram for SchedulerCommutator::ScopedGroomingGuard:
+ Collaboration diagram for SchedulerCommutator::ScopedGroomingGuard:

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