Skip to content

Commit

Permalink
Merge branch 'async_io' of https://github.com/datablockset/blockset i…
Browse files Browse the repository at this point in the history
…nto async_io
  • Loading branch information
sergey-shandar committed Oct 27, 2023
2 parents cf661bd + 3dfedfa commit 56343be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

use std::{ffi::CStr, io, mem::zeroed, thread::yield_now};

use io_trait::{OperationResult, AsyncOperation};
use libc::{
aio_cancel, aio_error, aio_read, aio_return, aio_write, aiocb, close, open, AIO_NOTCANCELED,
};

use crate::async_io::{AsyncFile, AsyncIo, AsyncOperation, OperationResult};

pub struct File(i32);

impl Drop for File {
Expand Down

0 comments on commit 56343be

Please sign in to comment.