• Home
  • Raw
  • Download

Lines Matching refs:imp

166     Win32ThreadImplementation *imp = new Win32ThreadImplementation;  in SimpleThread()  local
167 imp->fHandle = 0; in SimpleThread()
168 fImplementation = imp; in SimpleThread()
176 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; in ~SimpleThread() local
177 if (imp != 0) { in ~SimpleThread()
178 if (imp->fHandle != 0) { in ~SimpleThread()
179 CloseHandle(imp->fHandle); in ~SimpleThread()
180 imp->fHandle = 0; in ~SimpleThread()
188 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; in start() local
189 if(imp->fHandle != NULL) { in start()
195 imp->fHandle = (HANDLE) _beginthreadex( in start()
201 &imp->fThreadID // thraddr in start()
204 if (imp->fHandle == 0) { in start()
230 Win32ThreadImplementation *imp = (Win32ThreadImplementation*)fImplementation; in isRunning() local
235 if (imp->fHandle == 0) { in isRunning()
239 success = GetExitCodeThread(imp->fHandle, &threadExitCode) != 0; in isRunning()
332 PosixThreadImplementation *imp = (PosixThreadImplementation*)This->fImplementation; in SimpleThreadProc() local
334 imp->fRunning = FALSE; in SimpleThreadProc()
341 PosixThreadImplementation *imp = new PosixThreadImplementation; in SimpleThread() local
342 imp->fRunning = FALSE; in SimpleThread()
343 imp->fRan = FALSE; in SimpleThread()
344 fImplementation = imp; in SimpleThread()
349 PosixThreadImplementation *imp = (PosixThreadImplementation*)fImplementation; in ~SimpleThread() local
350 if (imp->fRan) { in ~SimpleThread()
351 pthread_join(imp->fThread, NULL); in ~SimpleThread()
353 delete imp; in ~SimpleThread()
363 PosixThreadImplementation *imp = (PosixThreadImplementation*)fImplementation; in start() local
364 imp->fRunning = TRUE; in start()
365 imp->fRan = TRUE; in start()
372 rc = pthread_create(&(imp->fThread),attr,&SimpleThreadProc,(void*)this); in start()
391 rc = pthread_create(&(imp->fThread),&attr,&SimpleThreadProc,(void*)this); in start()
396 imp->fRan = FALSE; in start()
397 imp->fRunning = FALSE; in start()
410 PosixThreadImplementation *imp = (PosixThreadImplementation*)fImplementation; in isRunning() local
412 UBool retVal = imp->fRunning; in isRunning()