Skip to content

Consider using thread local #4

Open

Description

@pandaman64

We currently store a cancellation token inside a Waker, and it depends on horrible pointer operations (actually there were many segfaults during implementation).
We can implement task-local storage through thread-locals like tokio-rs/tokio#2126, and it's much safer.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions