usbinfo.devlock is only ever write locked so convert it to a mutex
Merge branch 'master' of github.com:ckolivas/cgminer