book
Article ID: KB0085955
calendar_today
Updated On:
Description
Resolution:
The SmartSockets API is thread-safe however, the SmartSockets Product Family (RTworks) API is not. This includes the APIs for RTdaq, RTie, and the RThci. Even attempting to run the Product Family API in only a single thread of a multi-threaded application can be unsafe. The entire SmartSockets API is thread-safe, which includes all TipcConn*, TipcMon*, TipcMsg*, TipcMt*, TipcSrv*, and Tut* functions. All functions found in the SmartSockets API manual and the SmartSockets Utilities manual are thread-safe. Remember, when using threads in RTclient, you must call TipcInitThreads() before issuing any thread or SmartSockets calls in order to ensure thread-safety.
Issue/Introduction
Thread Safe SmartSockets and SmartSockets Modules APIs