Lines Matching refs:m_hThread
58 m_hThread = 0; in OThread()
65 if (m_hThread != 0) in ~OThread()
67 osl_destroyThread(m_hThread); in ~OThread()
75 VOS_ASSERT(m_hThread == 0); // only one running thread per instance in create()
77 m_hThread = osl_createSuspendedThread( in create()
79 if (m_hThread) in create()
80 osl_resumeThread(m_hThread); in create()
82 return m_hThread != 0; in create()
87 VOS_ASSERT(m_hThread == 0); // only one running thread per instance in createSuspended()
89 m_hThread= osl_createSuspendedThread(threadWorkerFunction_impl, (void*)this); in createSuspended()
90 return m_hThread != 0; in createSuspended()
95 VOS_ASSERT(m_hThread != 0); // use only on running thread in suspend()
97 osl_suspendThread(m_hThread); in suspend()
102 VOS_ASSERT(m_hThread != 0); // use only on running thread in resume()
104 osl_resumeThread(m_hThread); in resume()
109 return m_hThread != 0 && osl_isThreadRunning(m_hThread); in isRunning()
114 return (TThreadIdentifier)osl_getThreadIdentifier(m_hThread); in getIdentifier()
124 if (m_hThread) { in join()
126 osl_joinWithThread(m_hThread); in join()
164 osl_terminateThread(m_hThread); in terminate()
168 return osl_scheduleThread(m_hThread); in schedule()
173 if (osl_isThreadRunning(m_hThread)) in kill()
185 osl_setThreadPriority(m_hThread, (oslThreadPriority)Priority); in setPriority()
190 return (TThreadPriority)osl_getThreadPriority(m_hThread); in getPriority()