Commit 280dc4bf01bc9fe1dfe212f27644855bab936d2d

Con Kolivas 2013-10-14T00:54:05

Lock mutex before second pthread_cond_wait in usbutils to prevent a race.