Skip to content

Consider using thread local #4

@pandaman64

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.

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