MCPcopy Create free account
hub / github.com/baldurk/renderdoc / trylock

Method trylock

renderdoccmd/renderdoccmd_android.cpp:59–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 pthread_mutexattr_destroy(&mutexattr);
58 }
59 bool trylock() { return pthread_mutex_trylock(&mutex) == 0; };
60 void lock() { pthread_mutex_lock(&mutex); }
61 void unlock() { pthread_mutex_unlock(&mutex); }
62private:

Callers 2

DisplayGenericSplashFunction · 0.80
handle_cmdFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected