Skip to content

coop-threads: Improve handling of timeouts #806

Closed

Description

@alexcrichton

I'm extracting out my comment at #799 (comment) to a tracking issue here. Specifically:

  • Handling timeouts right now open-codes in a few locations that if a timeout is specified that the operation fails. This would ideally happen at one central location rather than throughout the code base in case timeouts are implemented in the future.
  • Waiting on a condvar with a timeout isn't something I think we'll be able to easily avoid, so I think this is something that will need to be filled out in the implementation.

Activity

  1. added 2 commits that reference this issue on Jul 11, 2026
    b137e1f
    fb6557b
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions