MCPcopy Create free account
hub / github.com/cppla/ServerStatus / lock_release

Function lock_release

server/src/system.c:499–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void lock_release(LOCK lock)
500{
501#if defined(CONF_FAMILY_UNIX)
502 pthread_mutex_unlock((LOCKINTERNAL *)lock);
503#elif defined(CONF_FAMILY_WINDOWS)
504 LeaveCriticalSection((LPCRITICAL_SECTION)lock);
505#else
506 #error not implemented on this platform
507#endif
508}
509
510#if !defined(CONF_PLATFORM_MACOSX)
511 #if defined(CONF_FAMILY_UNIX)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected