OpenShot Library | libopenshot-audio  0.1.9
juce::DummyCriticalSection Class Reference

A class that can be used in place of a real CriticalSection object, but which doesn't perform any locking. More...

#include <juce_CriticalSection.h>

+ Inheritance diagram for juce::DummyCriticalSection:

Classes

struct  ScopedLockType
 A dummy scoped-lock type to use with a dummy critical section. More...
 

Public Types

using ScopedUnlockType = ScopedLockType
 A dummy scoped-unlocker type to use with a dummy critical section. More...
 

Public Member Functions

void enter () const noexcept
 
bool tryEnter () const noexcept
 
void exit () const noexcept
 

Detailed Description

A class that can be used in place of a real CriticalSection object, but which doesn't perform any locking.

This is currently used by some templated classes, and most compilers should manage to optimise it out of existence.

See also
CriticalSection, Array, OwnedArray, ReferenceCountedArray

Definition at line 137 of file juce_CriticalSection.h.

Member Typedef Documentation

◆ ScopedUnlockType

A dummy scoped-unlocker type to use with a dummy critical section.

Definition at line 155 of file juce_CriticalSection.h.


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