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

Method backupStateReadLock

src/jrd/Attachment.cpp:204–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
203
204bool Jrd::Attachment::backupStateReadLock(thread_db* tdbb, SSHORT wait)
205{
206 if (att_backup_state_counter++)
207 return true;
208
209 if (att_database->dbb_backup_manager->lockStateRead(tdbb, wait))
210 return true;
211
212 att_backup_state_counter--;
213 return false;
214}
215
216
217void Jrd::Attachment::backupStateReadUnLock(thread_db* tdbb)

Callers 1

lockMethod · 0.80

Calls 1

lockStateReadMethod · 0.80

Tested by

no test coverage detected