Lines Matching refs:queueMutex
53 ZSTD_pthread_mutex_t queueMutex; member
72 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_thread()
80 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_thread()
83 ZSTD_pthread_cond_wait(&ctx->queuePopCond, &ctx->queueMutex); in POOL_thread()
92 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_thread()
97 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_thread()
102 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_thread()
132 error |= ZSTD_pthread_mutex_init(&ctx->queueMutex, NULL); in POOL_create_advanced()
163 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_join()
165 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_join()
179 ZSTD_pthread_mutex_destroy(&ctx->queueMutex); in POOL_free()
231 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_resize()
234 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_resize()
269 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_add()
272 ZSTD_pthread_cond_wait(&ctx->queuePushCond, &ctx->queueMutex); in POOL_add()
275 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_add()
282 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_tryAdd()
284 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_tryAdd()
288 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_tryAdd()