MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / enter

Function enter

src/common/classes/locks.h:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 void enter(const char* aReason)
93 {
94 EnterCriticalSection(&spinlock);
95 reason(aReason);
96#ifdef DEV_BUILD
97 lockCount++;
98#endif
99 }
100
101 bool tryEnter(const char* aReason)
102 {

Callers 4

enterMethod · 0.70
tryEnterMethod · 0.70
~UnlockGuardMethod · 0.50

Calls 1

EnterCriticalSectionFunction · 0.85

Tested by

no test coverage detected