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

移除mutiny依赖 #43

Closed
dreamlike-ocean opened this issue Apr 9, 2024 · 1 comment · Fixed by #44
Closed

移除mutiny依赖 #43

dreamlike-ocean opened this issue Apr 9, 2024 · 1 comment · Fixed by #44
Assignees

Comments

@dreamlike-ocean
Copy link
Owner

之前为了实现reactive式的api 引入了mutiny作为统一的异步视图
但是由于io_uring本身cancel的特性导致并不能很好的适配上该库的cancel语义
可能会存在内存不安全,内存泄露的情况,且适配代码复杂度较高
在参考monoio api之后,采用canceltoken+显式转移所有权和系统调用值的方案

@dreamlike-ocean dreamlike-ocean self-assigned this Apr 9, 2024
@He-Pin
Copy link

He-Pin commented Apr 9, 2024

试试pekko stream?你可以基于graphstage来实现。

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

Successfully merging a pull request may close this issue.

2 participants