fishinabarrel/linux-kernel-module-rust

Add poll to FIleOperations

Open

#232 aberto em 9 de ago. de 2020

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

Métricas do repositório

Stars
 (1.340 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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!

Guia do colaborador