We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e55432d commit b64aef3Copy full SHA for b64aef3
include/ur_client_library/rtde/rtde_client.h
@@ -231,8 +231,8 @@ class RTDEClient
231
comm::INotifier notifier_;
232
std::unique_ptr<comm::Pipeline<RTDEPackage>> pipeline_;
233
RTDEWriter writer_;
234
- bool reconnecting_;
235
- bool stop_reconnection_;
+ std::atomic<bool> reconnecting_;
+ std::atomic<bool> stop_reconnection_;
236
std::mutex reconnect_mutex_;
237
std::thread reconnecting_thread_;
238
0 commit comments