MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / fastlock_unlock_recursive

Function fastlock_unlock_recursive

src/fastlock.cpp:490–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490int fastlock_unlock_recursive(struct fastlock *lock)
491{
492 int rval = lock->m_depth;
493 lock->m_depth = 1;
494 fastlock_unlock(lock);
495 return rval;
496}
497
498void fastlock_lock_recursive(struct fastlock *lock, int nesting)
499{

Callers 1

unlock_recursiveMethod · 0.85

Calls 1

fastlock_unlockFunction · 0.85

Tested by

no test coverage detected