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

Method backupStateWriteLock

src/jrd/Attachment.cpp:184–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183
184bool Jrd::Attachment::backupStateWriteLock(thread_db* tdbb, SSHORT wait)
185{
186 if (att_backup_state_counter++)
187 return true;
188
189 if (att_database->dbb_backup_manager->lockStateWrite(tdbb, wait))
190 return true;
191
192 att_backup_state_counter--;
193 return false;
194}
195
196
197void Jrd::Attachment::backupStateWriteUnLock(thread_db* tdbb)

Callers

nothing calls this directly

Calls 1

lockStateWriteMethod · 0.80

Tested by

no test coverage detected