Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/
DThreadPool.cpp126 tp->mClosureArray = tp->mClosureTypical; in ThreadPool_init()
128 tp->mClosureArray = (Closure **) malloc((maxClosures + 1) * sizeof(Closure *)); 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()
196 if (++newFront == &tp->mClosureArray[tp->mMaxClosures + 1]) in ThreadPool_deinit_internal()
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()
[all …]
DThreadPool.h62 Closure **mClosureArray; ///< The circular buffer of closures member