Home
last modified time | relevance | path

Searched refs:pthreadData (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/utils/
DSkThreadUtils_pthread.cpp60 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(arg); in thread_start() local
62 pthreadData->fStarted.wait(); in thread_start()
65 if (!pthreadData->fCanceled.isTriggered()) { in thread_start()
66 pthreadData->fEntryPoint(pthreadData->fParam); in thread_start()
72 SkThread_PThreadData* pthreadData = new SkThread_PThreadData(entryPoint, data); in SkThread() local
73 fData = pthreadData; in SkThread()
75 int ret = pthread_create(&(pthreadData->fPThread), in SkThread()
76 &(pthreadData->fAttr), in SkThread()
78 pthreadData); in SkThread()
80 pthreadData->fValidPThread = (0 == ret); in SkThread()
[all …]
DSkThreadUtils_pthread_mach.cpp16 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(fData); in setProcessorAffinity() local
17 if (!pthreadData->fValidPThread) { in setProcessorAffinity()
21 mach_port_t tid = pthread_mach_thread_np(pthreadData->fPThread); in setProcessorAffinity()
DSkThreadUtils_pthread_linux.cpp30 SkThread_PThreadData* pthreadData = static_cast<SkThread_PThreadData*>(fData); in setProcessorAffinity() local
31 if (!pthreadData->fValidPThread) { in setProcessorAffinity()
43 return 0 == pthread_setaffinity_np(pthreadData->fPThread, in setProcessorAffinity()