Commit a49e8cf4 authored by yiwu-arbug's avatar yiwu-arbug Committed by Yi Wu

Mark SequentialFile as Send (#424)

Needed by https://github.com/tikv/tikv/pull/6209Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
parent f16806a6
...@@ -2524,6 +2524,8 @@ impl SequentialFile { ...@@ -2524,6 +2524,8 @@ impl SequentialFile {
} }
} }
unsafe impl Send for SequentialFile {}
impl io::Read for SequentialFile { impl io::Read for SequentialFile {
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> { fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
unsafe { unsafe {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment