DevMgr: Use releaseQutexEarly
This commit is contained in:
@@ -373,7 +373,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sense_api::SenseApiManager::getInstance().qutex.release();
|
releaseQutexEarly(sense_api::SenseApiManager::getInstance().qutex);
|
||||||
|
|
||||||
/** EXPLANATION:
|
/** EXPLANATION:
|
||||||
* We pass in either the body or world thread here, depending on whether
|
* We pass in either the body or world thread here, depending on whether
|
||||||
@@ -442,7 +442,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sense_api::SenseApiManager::getInstance().qutex.release();
|
releaseQutexEarly(sense_api::SenseApiManager::getInstance().qutex);
|
||||||
|
|
||||||
senseApiLib->senseApiDesc.sal_mgmt_libOps.detachDeviceReq(
|
senseApiLib->senseApiDesc.sal_mgmt_libOps.detachDeviceReq(
|
||||||
spec,
|
spec,
|
||||||
@@ -682,7 +682,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Release the DeviceManager qutex early before calling the inner method
|
// Release the DeviceManager qutex early before calling the inner method
|
||||||
DeviceManager::getInstance().qutex.release();
|
releaseQutexEarly(DeviceManager::getInstance().qutex);
|
||||||
|
|
||||||
// Pass the vector to the existing function
|
// Pass the vector to the existing function
|
||||||
DeviceManager::getInstance().attachAllUnattachedDevicesFromReq(
|
DeviceManager::getInstance().attachAllUnattachedDevicesFromReq(
|
||||||
|
|||||||
Reference in New Issue
Block a user