|
Public Methods |
| | thread_mutex () winstl_throw_0() |
| | Creates an instance of the mutex.
|
| | thread_mutex (ws_dword_t spinCount) winstl_throw_0() |
| | Creates an instance of the mutex and sets its spin count.
|
| | ~thread_mutex () winstl_throw_0() |
| | Destroys an instance of the mutex.
|
| void | lock () winstl_throw_0() |
| | Acquires a lock on the mutex, pending the thread until the lock is aquired.
|
| bool | try_lock () |
| | Attempts to lock the mutex.
|
| void | unlock () winstl_throw_0() |
| | Releases an aquired lock on the mutex.
|
| ws_dword_t | set_spin_count (ws_dword_t spinCount) winstl_throw_0() |
| | Sets the spin count for the mutex.
|