fishinabarrel/linux-kernel-module-rust

Add poll to FIleOperations

Open

#232 opened on Aug 9, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (122 forks)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (1,340 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

(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!

Contributor guide