MCPcopy Create free account
hub / github.com/ValveSoftware/vogl / GetFirstMutex

Function GetFirstMutex

src/extlib/loki/src/LevelMutex.cpp:84–104  ·  view source on GitHub ↗

Returns pointer to first mutex it finds in the container. This should not throw, and takes O(1) most of the time. At worse, it takes O(m) operations where m is the size of the container. @param mutexes Container of mutexes. @return Pointer to first mutex it finds, or nullptr if container is empty or each element is a nullptr. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

GetLevelFunction · 0.85
MultiUnlockMethod · 0.85

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected