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

Method getSync

src/jrd/Attachment.h:329–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 }
328
329 Sync* getSync(bool useAsync = false, bool forceAsync = false)
330 {
331 if (useAsync && !forceAsync)
332 {
333 fb_assert(!mainSync.locked());
334 }
335 return useAsync ? &async : &mainSync;
336 }
337
338 Firebird::Mutex* getBlockingMutex()
339 {

Callers 2

doOnIdleTimerMethod · 0.95
~SyncGuardMethod · 0.45

Calls 1

lockedMethod · 0.45

Tested by

no test coverage detected