#include <standardmutex.h>
◆ StandardMutex()
| ttv::StandardMutex::StandardMutex |
( |
| ) |
|
◆ ~StandardMutex()
| virtual ttv::StandardMutex::~StandardMutex |
( |
| ) |
|
|
virtual |
◆ Lock()
Block/wait until the mutex is free to take, and then acquire the mutex.
- Returns
- TTV_EC_SUCCESS: Mutex has been successfully acquired.
Implements ttv::IMutex.
◆ TryLock()
Attempt to acquire the mutex, without waiting for the lock to be available.
- Returns
- TTV_EC_SUCCESS: Mutex has been successfully acquired.
- TTV_WRN_MUTEX_NOT_ACQUIRED: Lock has failed and mutex has not been acquired.
Implements ttv::IMutex.
◆ Unlock()
Release the previously acquired mutex (through Lock()).
- Returns
- TTV_EC_SUCCESS: Mutex has been sucessfully released.
Implements ttv::IMutex.
◆ mMutex
| std::mutex ttv::StandardMutex::mMutex |
|
private |
The documentation for this class was generated from the following file: