libftdi Archives

Subject: Re: libftdi 0.x thread recommendations

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: "Spindler, Tyler L" <TLSpindler@xxxxxxxxxxxxxxxxx>
Date: Tue, 24 Apr 2012 08:24:42 +0200

Hi Tyler,


On Thursday, 19. April 2012 17:47:59 Spindler, Tyler L wrote:

> 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




libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Current Thread