OELockCondition¶
class OELockCondition
This class can be used to ensure an OECondition object is properly released when this object falls out of scope.
Warning
This may not prevent deadlocks as
OECondition.Signal
or
OECondition.Broadcast
still need to be
explicitly called by the user.
Constructors¶
OELockCondition(OECondition &cond)
This constructor calls OECondition.Acquire
. The
destructor of this class will be responsible for calling
OECondition.Release
.