fishinabarrel/linux-kernel-module-rust

Add poll to FIleOperations

Open

#232 aperta il 9 ago 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (122 fork)github user discovery
enhancementgood first issue

Metriche repository

Star
 (1340 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor