Unlock the mutex. If any threads are waiting for the lock on this mutex, one of them will be unblocked.
| 222 | /// If any threads are waiting for the lock on this mutex, one of them will |
| 223 | /// be unblocked. |
| 224 | inline void unlock() |
| 225 | { |
| 226 | #if defined(_TTHREAD_WIN32_) |
| 227 | mAlreadyLocked = false; |
| 228 | LeaveCriticalSection(&mHandle); |
| 229 | #else |
| 230 | pthread_mutex_unlock(&mHandle); |
| 231 | #endif |
| 232 | } |
| 233 | |
| 234 | _TTHREAD_DISABLE_ASSIGNMENT(mutex) |
| 235 |
nothing calls this directly
no outgoing calls
no test coverage detected