Lines Matching refs:thd
197 MppThread *thd; member
218 MppThread *thd = impl->thd; in mpp_timer_thread() local
240 if (MPP_THREAD_RUNNING != mpp_thread_get_status(thd, THREAD_WORK)) in mpp_timer_thread()
367 if (!impl->enabled && !impl->thd) { in mpp_timer_set_enable()
368 MppThread *thd = mpp_thread_create(mpp_timer_thread, impl, impl->name); in mpp_timer_set_enable() local
370 if (thd) { in mpp_timer_set_enable()
371 impl->thd = thd; in mpp_timer_set_enable()
373 mpp_thread_start(impl->thd); in mpp_timer_set_enable()
377 if (impl->enabled && impl->thd) { in mpp_timer_set_enable()
378 mpp_thread_stop(impl->thd); in mpp_timer_set_enable()
406 if (impl->thd) { in mpp_timer_put()
407 mpp_thread_destroy(impl->thd); in mpp_timer_put()
408 impl->thd = NULL; in mpp_timer_put()