Commit 433465bcfcd8d9a2270cb27dd0ea933e9fefa829

Con Kolivas 2013-10-14T11:35:47

Convert the usb callback function to use a cgsem_t using the timedwait code to avoid races with mutexes/conditionals.