fishinabarrel/linux-kernel-module-rust

Add poll to FIleOperations

Open

#232 创建于 2020年8月9日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Rust (122 fork)github user discovery
enhancementgood first issue

仓库指标

Star
 (1,340 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

(Split out from #164)

There's a few moving pieces here:

  • Adding the actual trait and setting up the function pointer
  • Figuring out a safe API for poll_wait -- the lifetimes are pretty tricky, might be best to start with just the &'static case.
  • This may require adding a basic wait queue API at the same time, so we have some way to test this!

贡献者指南