109 bool lockWasSuccessful;
117 std::unique_ptr<Pimpl> pimpl;
Holds a resizable array of primitive or copy-by-value objects.
Automatically locks and unlocks an InterProcessLock object.
bool isLocked() const noexcept
Returns true if the InterProcessLock was successfully locked.
ScopedLockType(InterProcessLock &l)
Creates a scoped lock.
~ScopedLockType()
Destructor.
Acts as a critical section which processes can use to block each other.
~InterProcessLock()
Destructor.
void exit()
Releases the lock if it's currently held by this process.
bool enter(int timeOutMillisecs=-1)
Attempts to lock the critical section.
InterProcessLock(const String &name)
Creates a lock object.
#define JUCE_API
This macro is added to all JUCE public class declarations.