Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/driver/
DrsdCore.cpp140 uint32_t idx = (uint32_t)android_atomic_inc(&dc->mWorkers.mLaunchCount); in HelperThreadProc()
144 dc->mWorkers.mLaunchSignals[idx].init(); in HelperThreadProc()
145 dc->mWorkers.mNativeThreadId[idx] = gettid(); in HelperThreadProc()
157 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx], in HelperThreadProc()
163 dc->mWorkers.mLaunchSignals[idx].wait(); in HelperThreadProc()
164 if (dc->mWorkers.mLaunchCallback) { in HelperThreadProc()
165 dc->mWorkers.mLaunchCallback(dc->mWorkers.mLaunchData, idx); in HelperThreadProc()
167 android_atomic_dec(&dc->mWorkers.mRunningCount); in HelperThreadProc()
168 dc->mWorkers.mCompleteSignal.set(); in HelperThreadProc()
178 dc->mWorkers.mLaunchData = data; in rsdLaunchThreads()
[all …]
DrsdCore.h60 Workers mWorkers; member
DrsdBcc.cpp379 if ((dc->mWorkers.mCount > 1) && s->mHal.info.isThreadable) { in rsdScriptInvokeForEach()