MCPcopy Create free account
hub / github.com/cpputest/cpputest / PThreadMutexDestroy

Function PThreadMutexDestroy

src/Platforms/Gcc/UtestPlatform.cpp:337–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335
336#ifdef CPPUTEST_HAVE_PTHREAD_MUTEX_LOCK
337static void PThreadMutexDestroy(PlatformSpecificMutex mtx)
338{
339 pthread_mutex_t *mutex = (pthread_mutex_t *)mtx;
340 pthread_mutex_destroy(mutex);
341 delete mutex;
342}
343#else
344static void PThreadMutexDestroy(PlatformSpecificMutex)
345{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected