Skip to content

Tasks and communication #15713

@larsbergstrom

Description

@larsbergstrom

Currently, any large program using tasks and channels will have a mixture of deadlocks and unpredictable task failures due to the interaction of task failure, channel communications, and asynchronous communication protocols.

Ideas in this space:

  • Controlled tear-down behavior, ala either the old linked task failure or something else easier to implement for a group of tasks.
  • Static protocol checking to ensure progress / avoid deadlock or livelock. Note that, unlike much of the existing literature, this needs to be robust in the face of both async. comm. and async. + multiple failures.

CC: @pcwalton

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions