| 182 | |
| 183 | |
| 184 | bool 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 | |
| 197 | void Jrd::Attachment::backupStateWriteUnLock(thread_db* tdbb) |
nothing calls this directly
no test coverage detected