Unlock the mutex. If any threads are waiting for the lock on this mutex, one of them will be unblocked.
| 306 | /// If any threads are waiting for the lock on this mutex, one of them will |
| 307 | /// be unblocked. |
| 308 | inline void unlock() |
| 309 | { |
| 310 | #if defined(_TTHREAD_WIN32_) |
| 311 | LeaveCriticalSection(&mHandle); |
| 312 | #else |
| 313 | pthread_mutex_unlock(&mHandle); |
| 314 | #endif |
| 315 | } |
| 316 | |
| 317 | _TTHREAD_DISABLE_ASSIGNMENT(recursive_mutex) |
| 318 |
no outgoing calls
no test coverage detected