fixed_index: impl Send for FixedIndexWriter
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
3b7ade9e78
commit
c3bb97e59c
|
@ -187,6 +187,9 @@ pub struct FixedIndexWriter {
|
||||||
pub ctime: u64,
|
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 {
|
impl Drop for FixedIndexWriter {
|
||||||
|
|
||||||
fn drop(&mut self) {
|
fn drop(&mut self) {
|
||||||
|
|
Loading…
Reference in New Issue