You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 31, 2025. It is now read-only.
I realize this is being compiled with C++03, and, thus, the workarounds are not possible, as they require C++11. Here is the faulty code, in roscpp/src/libros/topic_manager.cpp (line 56).
Double-checked locking as is done here is potentially unsafe; it is possible that a thread may read g_topic_manager before it is fully initialized. Of course, it depends on whether there are multiple threads contesting the access (which I am not sure about).