Home
last modified time | relevance | path

Searched refs:m_hThread (Results 1 – 7 of 7) sorted by relevance

/trunk/main/sal/inc/osl/
H A Dthread.hxx60 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()
[all …]
/trunk/main/vos/source/
H A Dthread.cxx58 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()
[all …]
/trunk/main/sal/osl/w32/
H A Dthread.c38 HANDLE m_hThread; /* OS-handle used for all thread-functions */ member
94 pThreadImpl->m_hThread= in oslCreateThread()
102 if(pThreadImpl->m_hThread == 0) in oslCreateThread()
157 CloseHandle( pThreadImpl->m_hThread ); in osl_destroyThread()
172 ResumeThread(pThreadImpl->m_hThread); in osl_resumeThread()
184 SuspendThread(pThreadImpl->m_hThread); in osl_suspendThread()
239 SetThreadPriority(pThreadImpl->m_hThread, winPriority); in osl_setThreadPriority()
253 if(pThreadImpl==NULL || pThreadImpl->m_hThread==0) in osl_getThreadPriority()
259 GetThreadPriority(pThreadImpl->m_hThread); in osl_getThreadPriority()
310 if(pThreadImpl==NULL || pThreadImpl->m_hThread==0) in osl_isThreadRunning()
[all …]
/trunk/main/fpicker/source/win32/filepicker/
H A Dasynceventnotifier.cxx51 m_hThread(0), in CAsyncEventNotifier()
77 OSL_ENSURE(0 == m_hThread,"Thread not stopped, destroying this instance leads to desaster"); in ~CAsyncEventNotifier()
136 m_hThread = (HANDLE)_beginthreadex( in startup()
139 OSL_ASSERT(0 != m_hThread); in startup()
141 if (m_hThread) in startup()
177 if (WaitForSingleObject(m_hThread, INFINITE) == WAIT_FAILED) { in shutdown()
185 CloseHandle(m_hThread); in shutdown()
186 m_hThread = 0; in shutdown()
H A Dasynceventnotifier.hxx90 HANDLE m_hThread; member in CAsyncEventNotifier
/trunk/main/sal/osl/unx/
H A Dthread.c71 pthread_t m_hThread; member
205 thread = pImpl->m_hThread; in osl_thread_cleanup_Impl()
242 pImpl->m_Ident = insertThreadId (pImpl->m_hThread); in osl_thread_start_Impl()
296 &(pImpl->m_hThread), in osl_thread_create_Impl()
406 if (pthread_equal (pthread_self(), pImpl->m_hThread)) in osl_suspendThread()
453 if (pthread_equal (pthread_self(), pImpl->m_hThread)) in osl_joinWithThread()
460 thread = pImpl->m_hThread; in osl_joinWithThread()
517 OSL_ASSERT(pthread_equal (pthread_self(), pImpl->m_hThread)); in osl_scheduleThread()
518 if (!(pthread_equal (pthread_self(), pImpl->m_hThread))) in osl_scheduleThread()
824 if (pthread_getschedparam(pImpl->m_hThread, &policy, &Param) != 0) in osl_setThreadPriority()
[all …]
/trunk/main/vos/inc/vos/
H A Dthread.hxx197 oslThread m_hThread; member in vos::OThread