Skip to content

Audit I/O code for failure-safety #8674

Closed
@brson

Description

@brson
Contributor

Code that interacts with the scheduler is wildly unsafe and probably not being properly defensive about recovering from failure or at least rtaborting on unexpected failure.

In particular, in the current iteration, I/O blocking is subject to linked task failure, under which blocked tasks my resume and fail, and this is not recovered correctly. In the short term we should make all I/O blocking non-interruptable, then handle interruptability on a case-by-case basis.

Activity

added a commit that references this issue on Aug 25, 2013

auto merge of #8723 : anasazi/rust/temporary-unkillable-io, r=brson

added a commit that references this issue on Nov 25, 2013
acca9e3
added a commit that references this issue on Nov 25, 2013

auto merge of #10603 : alexcrichton/rust/no-linked-failure, r=brson

2cc1e16
added a commit that references this issue on Jul 18, 2022

Auto merge of rust-lang#8703 - aldhsu:add_repeated_where_clause_or_tr…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @brson

      Issue actions

        Audit I/O code for failure-safety · Issue #8674 · rust-lang/rust