Acts as a critical section which processes can use to block each other. More...
|Automatically locks and unlocks an InterProcessLock object. More...|
|InterProcessLock (const String &name)|
|Creates a lock object. More...|
|bool||enter (int timeOutMillisecs=-1)|
|Attempts to lock the critical section. More...|
|Releases the lock if it's currently held by this process. More...|
Acts as a critical section which processes can use to block each other.
- See also
Constructor & Destructor Documentation
Creates a lock object.
name a name that processes will use to identify this lock object
This will also release the lock if it's currently held by this process.
Member Function Documentation
|bool InterProcessLock::enter||(||int||timeOutMillisecs = ||)|
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
- true if the lock could be gained within the timeout period, or false if the timeout expired.
Referenced by InterProcessLock::ScopedLockType::ScopedLockType().
Releases the lock if it's currently held by this process.
The documentation for this class was generated from the following file:
Generated on Fri Jan 12 2018 09:51:19 for JUCE by 1.8.13