diff --git a/smocore/componentThread.cpp b/smocore/componentThread.cpp index 070802b..cb4ff79 100644 --- a/smocore/componentThread.cpp +++ b/smocore/componentThread.cpp @@ -128,7 +128,7 @@ public: const std::shared_ptr target; public: - void joltThreadReq1( + void joltThreadReq1_posted( [[maybe_unused]] std::shared_ptr context ) { @@ -139,7 +139,7 @@ public: callOriginalCbFn(); } - void startThreadReq1( + void startThreadReq1_posted( [[maybe_unused]] std::shared_ptr context ) { @@ -152,7 +152,7 @@ public: callOriginalCbFn(); } - void exitThreadReq1_mainQueue( + void exitThreadReq1_mainQueue_posted( [[maybe_unused]] std::shared_ptr context ) { @@ -164,7 +164,7 @@ public: callOriginalCbFn(); } - void exitThreadReq1_pauseQueue( + void exitThreadReq1_pauseQueue_posted( [[maybe_unused]] std::shared_ptr context ) { @@ -177,7 +177,7 @@ public: callOriginalCbFn(); } - void pauseThreadReq1( + void pauseThreadReq1_posted( [[maybe_unused]] std::shared_ptr context ) { @@ -193,7 +193,7 @@ public: target->pause_io_service.run(); } - void resumeThreadReq1( + void resumeThreadReq1_posted( [[maybe_unused]] std::shared_ptr context ) { @@ -241,7 +241,7 @@ void MindThread::joltThreadReq(threadLifetimeMgmtOpCbFn callback) this->getIoService().post( std::bind( - &ThreadLifetimeMgmtOp::joltThreadReq1, + &ThreadLifetimeMgmtOp::joltThreadReq1_posted, request.get(), request)); } @@ -254,7 +254,7 @@ void MindThread::startThreadReq(threadLifetimeMgmtOpCbFn callback) this->getIoService().post( std::bind( - &ThreadLifetimeMgmtOp::startThreadReq1, + &ThreadLifetimeMgmtOp::startThreadReq1_posted, request.get(), request)); } @@ -266,12 +266,12 @@ void MindThread::exitThreadReq(threadLifetimeMgmtOpCbFn callback) this->getIoService().post( std::bind( - &ThreadLifetimeMgmtOp::exitThreadReq1_mainQueue, + &ThreadLifetimeMgmtOp::exitThreadReq1_mainQueue_posted, request.get(), request)); pause_io_service.post( std::bind( - &ThreadLifetimeMgmtOp::exitThreadReq1_pauseQueue, + &ThreadLifetimeMgmtOp::exitThreadReq1_pauseQueue_posted, request.get(), request)); } @@ -289,7 +289,7 @@ void MindThread::pauseThreadReq(threadLifetimeMgmtOpCbFn callback) this->getIoService().post( std::bind( - &ThreadLifetimeMgmtOp::pauseThreadReq1, + &ThreadLifetimeMgmtOp::pauseThreadReq1_posted, request.get(), request)); }