Home
last modified time | relevance | path

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

/frameworks/rs/driver/
DrsdCore.cpp151 uint32_t idx = (uint32_t)android_atomic_inc(&dc->mWorkers.mLaunchCount); in HelperThreadProc()
155 dc->mWorkers.mLaunchSignals[idx].init(); in HelperThreadProc()
156 dc->mWorkers.mNativeThreadId[idx] = gettid(); in HelperThreadProc()
168 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx], in HelperThreadProc()
174 dc->mWorkers.mLaunchSignals[idx].wait(); in HelperThreadProc()
175 if (dc->mWorkers.mLaunchCallback) { in HelperThreadProc()
176 dc->mWorkers.mLaunchCallback(dc->mWorkers.mLaunchData, idx); in HelperThreadProc()
178 android_atomic_dec(&dc->mWorkers.mRunningCount); in HelperThreadProc()
179 dc->mWorkers.mCompleteSignal.set(); in HelperThreadProc()
189 dc->mWorkers.mLaunchData = data; in rsdLaunchThreads()
[all …]
DrsdCore.h60 Workers mWorkers; member
DrsdBcc.cpp400 if ((dc->mWorkers.mCount > 1) && s->mHal.info.isThreadable && !dc->mInForEach) { in rsdScriptInvokeForEach()