-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-feature-requestCategory: A feature request.Category: A feature request.M-ioModule: tokio/ioModule: tokio/io
Description
Is your feature request related to a problem? Please describe.
/proc/self/mounts raises a priority event when there is a change in mount points (something is mounted or unmounted). There are probably other similar system-related files that do this as well. There appears to be no way of waiting for these in Tokio.
Describe the solution you'd like
Add a Priority variant to tokio::io::Interest and implement support for it in tokio::io::unix::AsyncFd.
Describe alternatives you've considered
Polling for changes manually. Writing my own select/poll loop in a blocking thread.
Additional context
None
Metadata
Metadata
Assignees
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-feature-requestCategory: A feature request.Category: A feature request.M-ioModule: tokio/ioModule: tokio/io