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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user