Lines Matching refs:m_Lock
76 pthread_mutex_t m_Lock; member
171 pthread_mutex_init (&(pImpl->m_Lock), PTHREAD_MUTEXATTR_DEFAULT); in osl_thread_construct_Impl()
186 pthread_mutex_destroy (&((*ppImpl)->m_Lock)); in osl_thread_destruct_Impl()
203 pthread_mutex_lock (&(pImpl->m_Lock)); in osl_thread_cleanup_Impl()
210 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_thread_cleanup_Impl()
236 pthread_mutex_lock (&(pImpl->m_Lock)); in osl_thread_start_Impl()
253 pthread_cleanup_push (osl_thread_wait_cleanup_Impl, &(pImpl->m_Lock)); in osl_thread_start_Impl()
254 pthread_cond_wait (&(pImpl->m_Cond), &(pImpl->m_Lock)); in osl_thread_start_Impl()
261 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_thread_start_Impl()
293 pthread_mutex_lock (&(pImpl->m_Lock)); in osl_thread_create_Impl()
304 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_thread_create_Impl()
314 pthread_cleanup_push (osl_thread_wait_cleanup_Impl, &(pImpl->m_Lock)); in osl_thread_create_Impl()
315 pthread_cond_wait (&(pImpl->m_Cond), &(pImpl->m_Lock)); in osl_thread_create_Impl()
319 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_thread_create_Impl()
359 pthread_mutex_lock(&impl->m_Lock); in osl_destroyThread()
362 pthread_mutex_unlock(&impl->m_Lock); in osl_destroyThread()
380 pthread_mutex_lock (&(pImpl->m_Lock)); in osl_resumeThread()
389 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_resumeThread()
403 pthread_mutex_lock (&(pImpl->m_Lock)); in osl_suspendThread()
413 pthread_cleanup_push (osl_thread_wait_cleanup_Impl, &(pImpl->m_Lock)); in osl_suspendThread()
414 pthread_cond_wait (&(pImpl->m_Cond), &(pImpl->m_Lock)); in osl_suspendThread()
419 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_suspendThread()
433 pthread_mutex_lock (&(pImpl->m_Lock)); in osl_isThreadRunning()
435 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_isThreadRunning()
452 pthread_mutex_lock (&(pImpl->m_Lock)); in osl_joinWithThread()
457 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_joinWithThread()
465 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_joinWithThread()
492 pthread_mutex_lock (&(pImpl->m_Lock)); in osl_terminateThread()
503 pthread_mutex_unlock (&(pImpl->m_Lock)); in osl_terminateThread()
523 pthread_mutex_lock (&(pImpl->m_Lock)); in osl_scheduleThread()
528 pthread_cleanup_push (osl_thread_wait_cleanup_Impl, &(pImpl->m_Lock)); in osl_scheduleThread()
529 pthread_cond_wait (&(pImpl->m_Cond), &(pImpl->m_Lock)); in osl_scheduleThread()
535 pthread_mutex_unlock(&(pImpl->m_Lock)); in osl_scheduleThread()