Skip to content
Snippets Groups Projects
Commit 4b28d704 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Remove unnecessary locks from...

Remove unnecessary locks from RobotUnitModule::Devices::getNumberOfControlDevices/getNumberOfSensorDevices
parent b44ae056
No related branches found
No related tags found
1 merge request!39Robot unit v3
......@@ -68,7 +68,6 @@ namespace armarx
{
throwIfInControlThread(__FUNCTION__);
throwIfDevicesNotReady(__FUNCTION__);
std::lock_guard<MutexType> guard {controlDevicesMutex};
return controlDevices.size();
}
......@@ -76,7 +75,6 @@ namespace armarx
{
throwIfInControlThread(__FUNCTION__);
throwIfDevicesNotReady(__FUNCTION__);
std::lock_guard<MutexType> guard {sensorDevicesMutex};
return sensorDevices.size();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment