Searched refs:mWorkers (Results 1 – 2 of 2) sorted by relevance
112 memset(&mWorkers, 0, sizeof(mWorkers)); in RsdCpuReferenceImpl()126 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1); in helperThreadProc()130 dc->mWorkers.mLaunchSignals[idx].init(); in helperThreadProc()131 dc->mWorkers.mNativeThreadId[idx] = gettid(); in helperThreadProc()144 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx], in helperThreadProc()150 dc->mWorkers.mLaunchSignals[idx].wait(); in helperThreadProc()151 if (dc->mWorkers.mLaunchCallback) { in helperThreadProc()153 dc->mWorkers.mLaunchCallback(dc->mWorkers.mLaunchData, idx+1); in helperThreadProc()155 __sync_fetch_and_sub(&dc->mWorkers.mRunningCount, 1); in helperThreadProc()156 dc->mWorkers.mCompleteSignal.set(); in helperThreadProc()[all …]
94 return mWorkers.mCount + 1; in getThreadCount()158 Workers mWorkers; variable