Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiple issues with POSIX AIO #715

Merged
merged 2 commits into from
Sep 4, 2017
Merged

Commits on Sep 3, 2017

  1. AioCb::Drop will now panic for in-progress AioCb

    Printing a warning message to stderr isn't really appropriate, because
    there's no way to guarantee that stderr is even valid.  Nor is
    aio_suspend necessarily an appropriate action to take.
    asomers committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    0c94373 View commit details
    Browse the repository at this point in the history
  2. Fixed error handling in AioCb::{fsync,read,write}

    Previously, the `AioCb`'s `in_progress` field would erroneously be set
    to `true`, even if the syscall had an error
    
    Fixes nix-rust#714
    asomers committed Sep 3, 2017
    Configuration menu
    Copy the full SHA
    bd2cda1 View commit details
    Browse the repository at this point in the history