LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Guidlines for a "thread safe" library

I am trying to use a 3rd party library for a communications board (ARINC).  I asked the vendor if the library is "thread-safe" since the application is multi-threaded.  He had indicated to me he didn't know how to create a thread-safe library.  Are there any guidelines i can give him to help him (and eventually me) to write a library that is thread-safe?.

 

The application uses 5 threads to upload a program or data to a production unit via ARINC communications protocol. (Lane 1 program, Lane 2 program, Progress, Lane 1 cal, Lane 2 cal).  If any interruption occurs or a bad checksum in the data flow the unit will lockup and require disassembly and low level j-tag re-programming.

0 Kudos
Message 1 of 2
(2,765 Views)

Never Mind -

The instrument driver development guide talks about thread protection that can be applied to a library.

 

Moderator - Please close/delete this topic

0 Kudos
Message 2 of 2
(2,757 Views)