Skip to content

Commit b64aef3

Browse files
urmahpurfeex
andauthored
Update include/ur_client_library/rtde/rtde_client.h
Co-authored-by: Felix Exner <[email protected]>
1 parent e55432d commit b64aef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/ur_client_library/rtde/rtde_client.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ class RTDEClient
231231
comm::INotifier notifier_;
232232
std::unique_ptr<comm::Pipeline<RTDEPackage>> pipeline_;
233233
RTDEWriter writer_;
234-
bool reconnecting_;
235-
bool stop_reconnection_;
234+
std::atomic<bool> reconnecting_;
235+
std::atomic<bool> stop_reconnection_;
236236
std::mutex reconnect_mutex_;
237237
std::thread reconnecting_thread_;
238238

0 commit comments

Comments
 (0)