-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
RIIRNo native-Rust library existsNo native-Rust library existsenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededlinuxThis issue affects LinuxThis issue affects Linuxthread-safetyThis issue affects thread safetyThis issue affects thread safety
Description
Sharing a libudev context between threads is not safe (in rust terms a context is !Send
), even when guarded by a mutex. This means that a USB context that depends on libudev must also be !Send
. As a result, a Rust library needs to be created to talk to udev directly without using libudev.
Metadata
Metadata
Assignees
Labels
RIIRNo native-Rust library existsNo native-Rust library existsenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededlinuxThis issue affects LinuxThis issue affects Linuxthread-safetyThis issue affects thread safetyThis issue affects thread safety