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:
@ -49,6 +49,7 @@ pub struct DynamicIndexReader {
|
||||
// `index` is mmap()ed which cannot be thread-local so should be sendable
|
||||
// FIXME: Introduce an mmap wrapper type for this?
|
||||
unsafe impl Send for DynamicIndexReader {}
|
||||
unsafe impl Sync for DynamicIndexReader {}
|
||||
|
||||
impl Drop for DynamicIndexReader {
|
||||
|
||||
|
Reference in New Issue
Block a user