MCPcopy Create free account
hub / github.com/crownengine/crown / unlock

Method unlock

src/core/thread/mutex.cpp:75–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void Mutex::unlock()
76{
77#if CROWN_PLATFORM_WINDOWS
78 LeaveCriticalSection(&_priv->cs);
79#else
80 int err = pthread_mutex_unlock(&_priv->mutex);
81 CE_ASSERT(err == 0, "pthread_mutex_unlock: errno = %d", err);
82 CE_UNUSED(err);
83#endif
84}
85
86void *Mutex::native_handle()
87{

Callers 11

waitMethod · 0.45
~ResourceLoaderMethod · 0.45
runMethod · 0.45
compile_internalMethod · 0.45
shutdownMethod · 0.45
sendMethod · 0.45
run_output_threadMethod · 0.45
~SaveGameMethod · 0.45
queue_requestMethod · 0.45
runMethod · 0.45

Calls 1

pthread_mutex_unlockFunction · 0.85

Tested by 1

waitMethod · 0.36