#include <juce_CriticalSection.h>
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
@tags{Core}
◆ ScopedUnlockType
A dummy scoped-unlocker type to use with a dummy critical section.
◆ DummyCriticalSection()
| juce::DummyCriticalSection::DummyCriticalSection |
( |
| ) |
|
|
inlinedefault |
◆ ~DummyCriticalSection()
| juce::DummyCriticalSection::~DummyCriticalSection |
( |
| ) |
|
|
inlinedefault |
◆ enter()
| void juce::DummyCriticalSection::enter |
( |
| ) |
const |
|
inlinenoexcept |
◆ exit()
| void juce::DummyCriticalSection::exit |
( |
| ) |
const |
|
inlinenoexcept |
◆ tryEnter()
| bool juce::DummyCriticalSection::tryEnter |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file:
- /home/runner/work/lmms-fork/lmms-fork/plugins/CarlaBase/carla/source/modules/juce_core/threads/juce_CriticalSection.h