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

Function wait

src/jrd/vio.cpp:691–698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689}
690
691inline int wait(thread_db* tdbb, jrd_tra* transaction, const record_param* rpb, bool probe)
692{
693 if (!probe && transaction->getLockWait())
694 tdbb->bumpRelStats(RuntimeStatistics::RECORD_WAITS, rpb->rpb_relation->rel_id);
695
696 return TRA_wait(tdbb, transaction, rpb->rpb_transaction_nr,
697 probe ? jrd_tra::tra_probe : jrd_tra::tra_wait);
698}
699
700inline bool checkGCActive(thread_db* tdbb, record_param* rpb, int& state)
701{

Callers 15

count_down_and_waitMethod · 0.85
waitMethod · 0.85
waitMethod · 0.85
timed_waitMethod · 0.85
waitMethod · 0.85
timed_waitMethod · 0.85
waitMethod · 0.85
timed_waitMethod · 0.85
waitMethod · 0.85
timed_waitMethod · 0.85
waitMethod · 0.85
atomic_flag_implClass · 0.85

Calls 3

TRA_waitFunction · 0.85
getLockWaitMethod · 0.80
bumpRelStatsMethod · 0.80

Tested by

no test coverage detected