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()
138 error |= ZSTD_pthread_mutex_init(&ctx->queueMutex, NULL); in POOL_create_advanced()
169 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_join()
171 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_join()
185 ZSTD_pthread_mutex_destroy(&ctx->queueMutex); in POOL_free()
239 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_resize()
242 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_resize()
278 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_add()
281 ZSTD_pthread_cond_wait(&ctx->queuePushCond, &ctx->queueMutex); in POOL_add()
284 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_add()
291 ZSTD_pthread_mutex_lock(&ctx->queueMutex); in POOL_tryAdd()
293 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_tryAdd()
297 ZSTD_pthread_mutex_unlock(&ctx->queueMutex); in POOL_tryAdd()