implement Sync for DynamicIndexReader and FixedIndexReader
hyper's wrap_stream now needs this Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
@ -45,6 +45,7 @@ pub struct FixedIndexReader {
|
||||
|
||||
// `index` is mmap()ed which cannot be thread-local so should be sendable
|
||||
unsafe impl Send for FixedIndexReader {}
|
||||
unsafe impl Sync for FixedIndexReader {}
|
||||
|
||||
impl Drop for FixedIndexReader {
|
||||
|
||||
|
Reference in New Issue
Block a user