SenseApiMgr: Make at/detachSenseDev & at/detachAllSenseDevs posted

They are posted to Marionette.

* We also fixed callOriginCb invocations;
* Also made posted CBs use std::bind instead of greedily
  early-invoking the CB on the servicing thread's stack.
This commit is contained in:
2025-09-16 18:38:06 -04:00
parent 92e55641a0
commit af33b7f097
2 changed files with 250 additions and 125 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ private:
std::vector<std::shared_ptr<SenseApiLib>> senseApiLibs;
class AttachSenseDeviceReq;
class DetachSenseDeviceReq;
typedef AttachSenseDeviceReq DetachSenseDeviceReq;
class AttachAllSenseDevicesFromSpecsReq;
class DetachAllSenseDevicesReq;