File tree Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 1
1
2
- https://github.com/eProsima/Micro-XRCE-DDS-Client.git 8b86e86848811428c1a2bdf7acd84ed9215c74e6
2
+ https://github.com/eProsima/Micro-XRCE-DDS-Client.git 4e132687b8e6cdf988cfa6f52383ffe041f094a4
3
3
https://github.com/eProsima/Micro-CDR.git bf546d5d10ef0a81e0a6f8561c7e9a54ef0b20b0
4
- https://github.com/ros-controls/control_msgs 653b646ba34d2166149cc02269bac0f48beb72b0
4
+ https://github.com/ros-controls/control_msgs 87a867ee6ddb672aa4569f23c19dac5274ce7c28
5
5
https://github.com/ros2/rosidl.git 75964cbdb3ba13854e749dcd2dd8274b73a5360c
6
6
https://github.com/ros2/rcl_logging.git d22a6630f039bee97c6667394def926a5426a673
7
7
https://github.com/ros2/rosidl_dds.git e88b1d0e62a2dca0788142cf1fb266a3a3c3d7dc
@@ -30,5 +30,5 @@ https://github.com/ament/ament_cmake.git 589cf00e21b100f2844b127bb53743b7bf29ee7
30
30
https://github.com/ament/ament_package.git 3397bb0ae1cc93d93e1e27da31c0bcb0f4fe0f46
31
31
https://github.com/ament/uncrustify_vendor.git 0291bc988c45846400aca50cb973bf04a4de3d56
32
32
https://github.com/ament/ament_lint.git 418a69c7e0f922adc889ac1bc2a7dcf721bf7060
33
- https://github.com/ament/ament_index.git dd678ad846fdf3692df4177539c2a277d68b22b9
33
+ https://github.com/ament/ament_index.git ff71598b04732d9a8378e1f258f4e3803faf598c
34
34
https://github.com/ament/googletest.git 69ff0aa660dd25ecdc8a1fe91505c3c58e0032c2
Original file line number Diff line number Diff line change @@ -78,8 +78,19 @@ UXRDLLAPI void uxr_unlock(
78
78
#define UXR_LOCK_TRANSPORT (comm ) uxr_lock(&comm->mutex)
79
79
#define UXR_UNLOCK_TRANSPORT (comm ) uxr_unlock(&comm->mutex)
80
80
81
- #define UXR_LOCK_STREAM_ID (session , stream_id ) uxr_lock(uxr_get_stream_mutex_from_id(session, stream_id))
82
- #define UXR_UNLOCK_STREAM_ID (session , stream_id ) uxr_unlock(uxr_get_stream_mutex_from_id(session, stream_id))
81
+ #define UXR_LOCK_STREAM_ID (session , stream_id ) { \
82
+ uxrMutex* stream_mutex = uxr_get_stream_mutex_from_id(session, stream_id); \
83
+ if (stream_mutex != NULL){ \
84
+ uxr_lock(stream_mutex); \
85
+ } \
86
+ }
87
+
88
+ #define UXR_UNLOCK_STREAM_ID (session , stream_id ){ \
89
+ uxrMutex* stream_mutex = uxr_get_stream_mutex_from_id(session, stream_id); \
90
+ if (stream_mutex != NULL){ \
91
+ uxr_unlock(stream_mutex); \
92
+ } \
93
+ }
83
94
84
95
#define UXR_LOCK_ALL_INPUT_STREAMS (session ) \
85
96
for (uint8_t i = 0; i < session->streams.input_best_effort_size; ++i){ \
Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ typedef struct uxrTCPPlatform
34
34
}
35
35
#endif // ifdef __cplusplus
36
36
37
- #endif // UXR_CLIENT_PROFILE_TRANSPORT_IP_TCP_TCPTRANSPORTPOSIX_H_
37
+ #endif // UXR_CLIENT_PROFILE_TRANSPORT_IP_TCP_TCPTRANSPORTPOSIX_H_
Original file line number Diff line number Diff line change @@ -74,4 +74,4 @@ UXRDLLAPI bool uxr_ping_agent_attempts(
74
74
}
75
75
#endif // ifdef __cplusplus
76
76
77
- #endif // UXR_CLIENT_UTIL_PING_H_
77
+ #endif // UXR_CLIENT_UTIL_PING_H_
You can’t perform that action at this time.
0 commit comments