MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / ~Mutex

Method ~Mutex

include/thundersvm/util/log.h:967–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

965 }
966
967 virtual ~Mutex(void) {
968# if ELPP_OS_UNIX
969 pthread_mutex_destroy(&m_underlyingMutex);
970# elif ELPP_OS_WINDOWS
971 DeleteCriticalSection(&m_underlyingMutex);
972# endif // ELPP_OS_UNIX
973 }
974
975 inline void lock(void) {
976# if ELPP_OS_UNIX

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected