Destructor.
| 175 | |
| 176 | /// Destructor. |
| 177 | ~mutex() |
| 178 | { |
| 179 | #if defined(_TTHREAD_WIN32_) |
| 180 | DeleteCriticalSection(&mHandle); |
| 181 | #else |
| 182 | pthread_mutex_destroy(&mHandle); |
| 183 | #endif |
| 184 | } |
| 185 | |
| 186 | /// Lock the mutex. |
| 187 | /// The method will block the calling thread until a lock on the mutex can |
nothing calls this directly
no outgoing calls
no test coverage detected