Lines Matching refs:m_hThread
60 Thread(): m_hThread(0){} in Thread()
64 osl_destroyThread( m_hThread); in ~Thread()
69 OSL_ASSERT(m_hThread == 0); // only one running thread per instance in create()
70 if (m_hThread) in create()
73 m_hThread = osl_createSuspendedThread( threadFunc, (void*)this); in create()
74 if ( m_hThread ) in create()
75 osl_resumeThread(m_hThread); in create()
77 return m_hThread != 0; in create()
82 OSL_ASSERT(m_hThread == 0); // only one running thread per instance in createSuspended()
83 if( m_hThread) in createSuspended()
85 m_hThread= osl_createSuspendedThread( threadFunc, in createSuspended()
87 return m_hThread != 0; in createSuspended()
92 if( m_hThread ) in suspend()
93 osl_suspendThread(m_hThread); in suspend()
98 if( m_hThread ) in resume()
99 osl_resumeThread(m_hThread); in resume()
104 if( m_hThread ) in terminate()
105 osl_terminateThread(m_hThread); in terminate()
110 osl_joinWithThread(m_hThread); in join()
115 return osl_isThreadRunning(m_hThread); in isRunning()
120 if( m_hThread ) in setPriority()
121 osl_setThreadPriority(m_hThread, Priority); in setPriority()
126 return m_hThread ? osl_getThreadPriority(m_hThread) : osl_Thread_PriorityUnknown; in getPriority()
131 return osl_getThreadIdentifier(m_hThread); in getIdentifier()
155 return m_hThread ? osl_scheduleThread(m_hThread) : sal_False; in schedule()
160 return m_hThread; in operator oslThread()
177 oslThread m_hThread; member in osl::Thread