Is VR-Link thread-safe?
VR-Link is not thread-safe. However, it is possible to use VR-Link in multithreaded applications. You simply need to make sure that your VR-Link stuff is all in the same thread. So long as this is the case, VR-Link should work fine. The one case where the current version of VR-Link has problems is in applications where two completely independent threads both want to use VR-Link classes. With the current version, an application can only have one VR-Link thread! This limitation will be fixed in the next release. However, there are no plans to make VR-Link fully thread safe! The reason for this is that we would need to put in a lot of locking for it to work. It would be more efficient for people to put in their own locks on top of their VR-Link code. This is what we do in our own applications here at VT MÄK. One threading model which works very well is to have a main thread that does all the processing and a second thread that manages the exercise connection, reflected lists, publishers,