>> Is there a way to prevent this error? Am I violating the rules since I

>> have read that libusb 0.1 / libftdi 0.x are not thread safe? Any

>> recommendations on different techniques / function calls to use inside

>> the 2 threads? I'd prefer to continue to use the 0.x version of the

>> library.



> libftdi is not designed to be thread safe.



> Do you use proper locking before calling into libftdi?



> Thomas



I just added mutex locking and unlocking to my program's code base. All the 
interactions with the libftdi library will now be protected. Thanks for the 
feedback.



Tyler


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [email protected]   

Reply via email to