Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Oct 27, 2023 · 1 comment
Open

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

ghost opened this issue Oct 27, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 27, 2023

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的么?

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

@ghost
Copy link
Author

ghost commented Oct 27, 2023

似乎在monoio中也遇到了这个问题:
bytedance/monoio#120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants