Lines Matching refs:thd_status
31 thread->thd_status[THREAD_WORK] = MPP_THREAD_UNINITED; in mpp_thread_create()
32 thread->thd_status[THREAD_INPUT] = MPP_THREAD_RUNNING; in mpp_thread_create()
33 thread->thd_status[THREAD_OUTPUT] = MPP_THREAD_RUNNING; in mpp_thread_create()
34 thread->thd_status[THREAD_CONTROL] = MPP_THREAD_RUNNING; in mpp_thread_create()
53 thread->thd_status[THREAD_WORK], thread->thd_status[THREAD_INPUT], in mpp_thread_dump_status()
54 thread->thd_status[THREAD_OUTPUT], thread->thd_status[THREAD_CONTROL]); in mpp_thread_dump_status()
255 thread->thd_status[i] = MPP_THREAD_UNINITED; in mpp_thread_init()
262 thread->thd_status[id] = status; in mpp_thread_set_status()
268 return thread->thd_status[id]; in mpp_thread_get_status()
286 MppThreadStatus status = thread->thd_status[id]; in mpp_thread_wait()
287 thread->thd_status[id] = MPP_THREAD_WAITING; in mpp_thread_wait()
290 if (thread->thd_status[id] == MPP_THREAD_WAITING) in mpp_thread_wait()
291 thread->thd_status[id] = status; in mpp_thread_wait()