Skip to content

请教一下关于Waker需要是Send+Sync的 #2

Description

glommio的讨论:
DataDog/glommio#194

futures RFC:
https://github.com/rust-lang/rfcs/blob/master/text/2592-futures.md#rationale-drawbacks-and-alternatives-to-the-wakeup-design-waker

RFC中提出了一种基于id的方式,但是在你教程中完全没有体现,你是用什么方式解决了这些问题?现有的实现是sound的么?

异步新手试图抄代码但真的看不懂啊

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