Lines Matching refs:mClosureArray
126 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()
292 if (++newRear == &tp->mClosureArray[tp->mMaxClosures + 1]) in ThreadPool_add()
293 newRear = tp->mClosureArray; in ThreadPool_add()
350 if (++newFront == &tp->mClosureArray[tp->mMaxClosures + 1]) { in ThreadPool_remove()
351 newFront = tp->mClosureArray; in ThreadPool_remove()