Re: [pyusb-users] libusb1 Callback thread

2014-07-30 Thread Slavko Kocjancic
On 30. 07. 2014 11:52, Xiaofan Chen wrote: > On Wed, Jul 30, 2014 at 2:45 PM, Slavko Kocjancic wrote: >> Hello... >> I try to do some async transfer. The program bellow actualy 'near' work. >> It setup 10 transfers and should print the received bytes in callback. >> The problem is that callback is

Re: [pyusb-users] libusb1 Callback thread

2014-07-30 Thread Xiaofan Chen
On Wed, Jul 30, 2014 at 2:45 PM, Slavko Kocjancic wrote: > Hello... > I try to do some async transfer. The program bellow actualy 'near' work. > It setup 10 transfers and should print the received bytes in callback. > The problem is that callback is not done at receive complete! > In example below

[pyusb-users] libusb1 Callback thread

2014-07-29 Thread Slavko Kocjancic
Hello... I try to do some async transfer. The program bellow actualy 'near' work. It setup 10 transfers and should print the received bytes in callback. The problem is that callback is not done at receive complete! In example below I expect callback while sleep comand is executed but instead got a