impl Send Sync for WindowsFile

This commit is contained in:
Pere Diaz Bou
2025-03-05 11:44:04 +01:00
parent 3d3cdbeb0c
commit d1e7f0826b

View File

@@ -48,6 +48,9 @@ pub struct WindowsFile {
file: RefCell<std::fs::File>,
}
unsafe impl Send for WindowsFile {}
unsafe impl Sync for WindowsFile {}
impl File for WindowsFile {
fn lock_file(&self, exclusive: bool) -> Result<()> {
unimplemented!()