Hey,
I'm currently have problems with CAN_Initialize calling from another thread.
I wrapped the PCAN Basic function in my own class and call CAN_Initialize in the constructor.
If create the class in my main thread everything works fine. If I start another thread to create a instance the thread exists at CAN_Initialize.
Do I need to regard something for threading?
Thanks,
Tobias
Is CAN_Initialize thread safe?
Re: Is CAN_Initialize thread safe?
Hello,
yes, all PCAN-Basic functions are indeed thread safe. Please check if members of your class that are possibly being used at initialize time are thread safe as well.
yes, all PCAN-Basic functions are indeed thread safe. Please check if members of your class that are possibly being used at initialize time are thread safe as well.
Best regards,
Keneth
Keneth