61 bool enter (
int timeOutMillisecs = -1);
104 bool isLocked() const noexcept {
return lockWasSuccessful; }
109 bool lockWasSuccessful;
117 std::unique_ptr<Pimpl> pimpl;
#define JUCE_API
This macro is added to all JUCE public class declarations.
Acts as a critical section which processes can use to block each other.
bool enter(int timeOutMillisecs=-1)
Attempts to lock the critical section.
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.