OpenShot Audio Library | OpenShotAudio 0.3.2
|
#include <juce_InterProcessLock.h>
Classes | |
class | ScopedLockType |
Public Member Functions | |
InterProcessLock (const String &name) | |
~InterProcessLock () | |
bool | enter (int timeOutMillisecs=-1) |
void | exit () |
Acts as a critical section which processes can use to block each other.
Definition at line 34 of file juce_InterProcessLock.h.
Creates a lock object.
name | a name that processes will use to identify this lock object |
juce::InterProcessLock::~InterProcessLock | ( | ) |
Destructor. This will also release the lock if it's currently held by this process.
Attempts to lock the critical section.
timeOutMillisecs | how many milliseconds to wait if the lock is already held by another process - a value of 0 will return immediately, negative values will wait forever |
void juce::InterProcessLock::exit | ( | ) |
Releases the lock if it's currently held by this process.