Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zstd/lib/common/
H A Dpool.c53 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()
[all …]
/freebsd/sys/contrib/zstd/lib/common/
H A Dpool.c53 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()
[all …]