Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/
DThreadPool.cpp139 tp->mThreadArray = tp->mThreadTypical; in ThreadPool_init()
141 tp->mThreadArray = (pthread_t *) malloc(maxThreads * sizeof(pthread_t)); in ThreadPool_init()
142 if (NULL == tp->mThreadArray) { in ThreadPool_init()
149 int err = pthread_create(&tp->mThreadArray[i], (const pthread_attr_t *) NULL, in ThreadPool_init()
186 ok = pthread_join(tp->mThreadArray[i], (void **) NULL); in ThreadPool_deinit_internal()
235 if (tp->mThreadTypical != tp->mThreadArray && NULL != tp->mThreadArray) { in ThreadPool_deinit_internal()
236 free(tp->mThreadArray); in ThreadPool_deinit_internal()
237 tp->mThreadArray = NULL; in ThreadPool_deinit_internal()
DThreadPool.h67 pthread_t *mThreadArray; ///< The worker threads member