MCPcopy Create free account
hub / github.com/RenderKit/embree / try_write_lock

Function try_write_lock

kernels/subdiv/subdivpatch1base.h:71–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 __forceinline void write_lock() { mtx.lock(); }
70 __forceinline void write_unlock() { mtx.unlock(); }
71 __forceinline bool try_write_lock() { return mtx.try_lock(); }
72 //__forceinline bool try_read_lock() { return mtx.try_read_lock(); }
73
74 __forceinline void resetRootRef() {

Callers

nothing calls this directly

Calls 1

try_lockMethod · 0.45

Tested by

no test coverage detected