PCANBasic thread safe

The free CAN Software API (Application Programming Interface) for Windows®

PCANBasic thread safe

Postby Matthias W. » Wed 18. May 2011, 09:10

Hi

is the PCANBasic API thread safe? Can the functions for reading/writing of messages be called from concurrent threads? Or is some sort of external synchronisation needed?

Thanks in advance
Matthias W.
Matthias W.
 
Posts: 1
Joined: Wed 18. May 2011, 09:01

Re: PCANBasic thread safe

Postby K.Wagner » Wed 18. May 2011, 11:59

Hello Mathias,

Matthias W. wrote:is the PCANBasic API thread safe? Can the functions for reading/writing of messages be called from concurrent threads?

yes, it is. In the PCAN-Basic package you will find example code in different programming languages, that uses a thread to read messages.

Happy programming :)
Best regards,
Keneth
User avatar
K.Wagner
Software Development
Software Development
 
Posts: 124
Joined: Wed 22. Sep 2010, 13:36
Location: Darmstadt, Germany


Return to PCAN-Basic