Make [at|de]tachAllSenseDevices[FromSpecs] and initializeSalmanoff async

This is the culmination of a lot of changes over the last week. We're
making SMO basically fully async in many areas, and then preparing to
implement the spinqueueing mechanism for locking.
This commit is contained in:
2025-09-10 18:12:08 -04:00
parent 81842e4571
commit e08dc0678b
5 changed files with 236 additions and 120 deletions
+5 -2
View File
@@ -2,12 +2,15 @@
#define _SALMANOFF_H
#include <memory>
#include <functional>
#include <componentThread.h>
namespace smo {
void initializeSalmanoff(std::shared_ptr<ComponentThread>& componentThread);
void shutdownSalmanoff(void);
typedef std::function<void(bool)> initializeSalmanoffCbFn;
typedef initializeSalmanoffCbFn shutdownSalmanoffCbFn;
void initializeSalmanoff(initializeSalmanoffCbFn callback);
void shutdownSalmanoff(shutdownSalmanoffCbFn callback);
} // namespace smo