Searched refs:ThreadController (Results 1 – 2 of 2) sorted by relevance
25 bool ThreadController::start(const std::string& name, int priority) { in start()29 mWorker = std::thread(&ThreadController::workerThread, this); in start()44 void ThreadController::stop() { in stop()55 void ThreadController::join() { in join()61 bool ThreadController::waitForAtLeastOneCycle() { in waitForAtLeastOneCycle()69 void ThreadController::switchWorkerStateSync(WorkerState oldState, WorkerState newState, in switchWorkerStateSync()86 void ThreadController::workerThread() { in workerThread()
36 class ThreadController {40 explicit ThreadController(StreamLogic* logic) : mLogic(logic) {} in ThreadController() function41 ~ThreadController() { stop(); } in ~ThreadController()107 friend class internal::ThreadController;169 internal::ThreadController mThread;