Turanic / usbwall

Control ldap users access to usb devices
MIT License
1 stars 5 forks source link

Bad multi-tasking #4

Open Turanic opened 7 years ago

Turanic commented 7 years ago

The hotplug handling is done by a separated thread running the function wait_for_hotplug in devusb.cc. The function will simply loop on doing its check and calling sleep(3). Some things here are quite dubitous (the call to sleep for example). I think it's important to rework this part.