|
Twitch SDK (Internal)
|
#include <mutex.h>
Public Member Functions | |
| virtual | ~IMutex () |
| virtual TTV_ErrorCode | Lock ()=0 |
| virtual TTV_ErrorCode | TryLock ()=0 |
| virtual TTV_ErrorCode | Unlock ()=0 |
Interface for basic mutex lock/unlock functionality.
|
virtual |
|
pure virtual |
Block/wait until the mutex is free to take, and then acquire the mutex.
Implemented in ttv::WinConditionMutex, ttv::StandardConditionMutex, ttv::WinMutex, and ttv::StandardMutex.
|
pure virtual |
Attempt to acquire the mutex, without waiting for the lock to be available.
Implemented in ttv::WinConditionMutex, ttv::StandardConditionMutex, ttv::WinMutex, and ttv::StandardMutex.
|
pure virtual |
Release the previously acquired mutex (through Lock()).
Implemented in ttv::WinConditionMutex, ttv::StandardConditionMutex, ttv::WinMutex, and ttv::StandardMutex.
1.8.13