Home
last modified time | relevance | path

Searched refs:mClosureArray (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/wilhelm/src/
H A DThreadPool.cpp126 tp->mClosureArray = tp->mClosureTypical; in ThreadPool_init()
129 if (NULL == tp->mClosureArray) { in ThreadPool_init()
134 tp->mClosureFront = tp->mClosureArray; in ThreadPool_init()
135 tp->mClosureRear = tp->mClosureArray; in ThreadPool_init()
197 newFront = tp->mClosureArray; in ThreadPool_deinit_internal()
229 if (tp->mClosureTypical != tp->mClosureArray && NULL != tp->mClosureArray) { in ThreadPool_deinit_internal()
230 free(tp->mClosureArray); in ThreadPool_deinit_internal()
231 tp->mClosureArray = NULL; in ThreadPool_deinit_internal()
292 if (++newRear == &tp->mClosureArray[tp->mMaxClosures + 1]) in ThreadPool_add()
293 newRear = tp->mClosureArray; in ThreadPool_add()
[all …]
H A DThreadPool.h62 Closure **mClosureArray; ///< The circular buffer of closures member