Hans Petter Selasky f7287225df LibUSB v1.0 API compiliance and bugfixes.
- Use CLOCK_MONOTONIC instead of CLOCK_REALTIME, because CLOCK_MONOTONIC
does not wrap into negative in near future. This fixes any potential
problems using "pthread_cond_timedwait()".

- Fix a bug where the "libusb_wait_for_event()" function computes an
absolute timeout instead of a relative timeout. USB transfers do
not depend on this timeout value.

- Add dependency towards LibPthread to Makefile, because LibUSB v1.0
needs this library to function correctly.

MFC after:	1 week
2012-06-12 07:28:25 +00:00
..
2009-11-20 08:57:25 +00:00
2012-04-20 14:29:45 +00:00
2012-04-20 14:29:45 +00:00
2012-06-02 08:47:26 +00:00
2012-04-20 14:29:45 +00:00
2012-05-11 20:06:46 +00:00