09-22-2011 10:26 AM
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.
09-22-2011 01:05 PM
Never Mind -
The instrument driver development guide talks about thread protection that can be applied to a library.
Moderator - Please close/delete this topic