Lines Matching defs:pThread
354 bool Create( wxThread* pThread
392 wxThread *pThread = (wxThread *)pParam;
395 pThread->m_critsect.Enter();
396 pThread->m_critsect.Leave();
399 if ( pThread->m_internal->GetState() == STATE_EXITED )
410 dwRet = (DWORD)pThread->Entry();
415 pThread->m_critsect.Enter();
417 bWasCancelled = pThread->m_internal->GetState() == STATE_CANCELED;
419 pThread->m_internal->SetState(STATE_EXITED);
420 pThread->m_critsect.Leave();
422 pThread->OnExit();
426 if (pThread->IsDetached() && !bWasCancelled)
429 delete pThread;
470 bool wxThreadInternal::Create( wxThread* pThread,
478 pThread->m_critsect.Enter();
480 NULL, uStackSize, pThread);
536 wxThread* pThread = m_pThread;
537 return pThread;