fixed compiler warning: too many arguments for format
Only memcopy *transferred data in usbutils if we have received only success or a non-fatal error.
Set each miner thread last valid work just before starting its hash loop in case there are delays at startup.
Transferred value is corrupt on a NODEV error in usbutils.
Store last_getwork time on a per-device basis.
Provide a helper function for determining time between valid share and getwork per device.
Correct share work tdiff
Per device last getwork won't work if the device stops asking for work.
Provide a usb_detect_one wrapper which only plugs one device at a time, breaking out otherwise.
Only break out of usb_detect_one when a new device is found.
When not honoured, trying to set highprio seems to have the opposite effect making it a harmful choice generically.
let miner thread run in high priority
api - buffer size off by 1 for joined commands
Check for lack of thread in watchdog thread for a failed startup.
Disable a device that fails to prepare.
Don't try to reinit a device that's disabled.
Add a function for making all driver functions noops.
Null a device driver should thread prepare fail.
Show only as many digits as are required to display the number of devices.
Increase the opt_queue if we can hit the maximum amount asked for but are still bottoming out.