fixed_index: impl Send for FixedIndexWriter
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -187,6 +187,9 @@ pub struct FixedIndexWriter {
|
||||
pub ctime: u64,
|
||||
}
|
||||
|
||||
// `index` is mmap()ed which cannot be thread-local so should be sendable
|
||||
unsafe impl Send for FixedIndexWriter {}
|
||||
|
||||
impl Drop for FixedIndexWriter {
|
||||
|
||||
fn drop(&mut self) {
|
||||
|
Reference in New Issue
Block a user