From: LarryM <lmi...@di...> - 2011-03-28 18:38:40
|
Orin, Thank you. Your suggestion is about the same as what I am doing. For transfer timeouts, I am doing a semaphore timed wait on my semaphores, so that the semaphore timed wait will time out if the transfer completion callback does not release them by the specified timeout period. I am therefore passing zero for timeout values to the LibUSB functions. I am running a test now with the new scheme. If it is still running in about two hours from now, I will consider it successful. So far, I have only consolidated the bulk and interrupt transfers in the dedicated thread event handling. I still need to add the control transfers, but the current testing does not involve any control transfers. Larry -- View this message in context: http://libusb.6.n5.nabble.com/Multiple-Endpoints-on-a-Single-Device-with-LibUSB-1-0-8-tp4264914p4268083.html Sent from the LibUSB Dev mailing list archive at Nabble.com. |