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

Function IsUniqueMutex

src/extlib/loki/src/LevelMutex.cpp:59–73  ·  view source on GitHub ↗

Determines if the mutex at specific iterator location is unique within the container of mutexes. It only checks mutexes at later locations in the container instead of the entire container partly for efficiency sake. (Any prior duplications would have gotten caught during earlier calls to this function.) This should not throw exceptions. It requires O(m) operations where m is the number of elem

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

DoMutexesMatchContainerFunction · 0.85
MultiLockMethod · 0.85

Calls 1

endMethod · 0.45

Tested by

no test coverage detected