Lines Matching refs:state

76     Mutexed<ExecState>::Locked state(mExecState);
77 if (state->mState == RUNNING) {
84 state->mListener = listener;
92 Mutexed<ExecState>::Locked state(mExecState);
93 if (state->mState != RUNNING) {
117 Mutexed<ExecState>::Locked state(mExecState);
118 if (state->mState != RUNNING) {
149 Mutexed<ExecState>::Locked state(mExecState);
150 if (state->mState != RUNNING) {
164 Mutexed<ExecState>::Locked state(mExecState);
165 if (state->mState == RUNNING) {
168 bool needsInit = (state->mState == UNINITIALIZED);
170 state.unlock();
175 state.lock();
177 if (!state->mThread.joinable()) {
183 state->mThread = std::thread(
200 state->mState = RUNNING;
212 Mutexed<ExecState>::Locked state(mExecState);
213 if (!state->mThread.joinable()) {
230 Mutexed<ExecState>::Locked state(mExecState);
231 if (state->mThread.joinable()) {
233 state->mThread.join();
241 Mutexed<ExecState>::Locked state(mExecState);
242 if (state->mState != RUNNING) {
245 state->mState = STOPPED;
266 Mutexed<ExecState>::Locked state(mExecState);
267 state->mState = UNINITIALIZED;
315 Mutexed<ExecState>::Locked state(mExecState);
316 std::shared_ptr<C2Component::Listener> listener = state->mListener;
317 state.unlock();
394 Mutexed<ExecState>::Locked state(mExecState);
395 std::shared_ptr<C2Component::Listener> listener = state->mListener;
396 state.unlock();
405 Mutexed<ExecState>::Locked state(mExecState);
406 std::shared_ptr<C2Component::Listener> listener = state->mListener;
407 state.unlock();
423 Mutexed<ExecState>::Locked state(mExecState);
424 std::shared_ptr<C2Component::Listener> listener = state->mListener;
425 state.unlock();
433 Mutexed<ExecState>::Locked state(mExecState);
435 std::shared_ptr<C2Component::Listener> listener = state->mListener;
436 state.unlock();
453 Mutexed<ExecState>::Locked state(mExecState);
454 std::shared_ptr<C2Component::Listener> listener = state->mListener;
455 state.unlock();