Lines Matching defs:state

59    threadContext->state = M4OSA_kThreadRunning;
63 while(threadContext->state == M4OSA_kThreadRunning)
71 if(threadContext->state == M4OSA_kThreadRunning)
74 //PR 2354 - ACO : Suppress stopping state and don't
76 threadContext->state = M4OSA_kThreadOpened;
112 * @note Once the thread is created, the state is M4OSA_kThreadOpened.
154 threadContext->state = M4OSA_kThreadOpened;
191 * Before calling this method, the state is M4OSA_kThreadOpened.
192 * Once the method is called, the state is M4OSA_kThreadStarting.
193 * Once the thread is running, the state is M4OSA_kThreadRunning.
227 if(threadContext->state != M4OSA_kThreadOpened)
236 threadContext->state = M4OSA_kThreadStarting;
308 threadContext->state = M4OSA_kThreadOpened;
325 * Before the method is called, the state is M4OSA_kThreadRunning.
326 * Once the method is called, the state is M4OSA_kThreadStopping.
327 * Once the thread is stopped, the state is M4OSA_kThreadOpened.
352 if(threadContext->state != M4OSA_kThreadRunning)
361 threadContext->state = M4OSA_kThreadStopping;
369 threadContext->state = M4OSA_kThreadOpened;
384 * @note Before the method is called, the state is M4OSA_kThreadOpened.
385 * Once the method is called, the state is M4OSA_kThreadClosed.
406 M4OSA_DEBUG_IF2(threadContext->state == M4OSA_kThreadClosed,
411 if(threadContext->state != M4OSA_kThreadOpened)
420 threadContext->state = M4OSA_kThreadClosed;
457 * @brief This method asks the thread to return its state.
458 * @note The caller is responsible for allocating/deallocating the state
461 * @param state:(OUT) Thread state
468 M4OSA_ThreadState* state)
473 "M4OSA_ThreadState* 0x%x", context, state);
478 M4OSA_DEBUG_IF2(state == M4OSA_NULL,
484 *state = threadContext->state;
649 if(threadContext->state != M4OSA_kThreadOpened)