Try to delete the buffer block and release the reservation with exclusive lock.
| 250 | |
| 251 | /// Try to delete the buffer block and release the reservation with exclusive lock. |
| 252 | void TryDeleteReadBufferExcl(int buffer_idx) { |
| 253 | std::unique_lock<boost::shared_mutex> lock(*(disk_buffer_file_->GetFileLock())); |
| 254 | TryDeleteReadBuffer(lock, buffer_idx); |
| 255 | } |
| 256 | |
| 257 | /// Try to delete the buffer block and release the reservation with shared lock. |
| 258 | /// Use the exclusive one unless sure that no one else would access the specific |
no test coverage detected