Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c641 ZSTD_pthread_cond_t job_cond; /* Thread-safe - used by mtctx and worker */ member
750 … ZSTD_pthread_cond_signal(&job->job_cond); /* warns some more data is ready to be flushed */ in ZSTDMT_compressionJob()
786 ZSTD_pthread_cond_signal(&job->job_cond); in ZSTDMT_compressionJob()
868 ZSTD_pthread_cond_destroy(&jobTable[jobNb].job_cond); in ZSTDMT_freeJobsTable()
888 initError |= ZSTD_pthread_cond_init(&jobTable[jobNb].job_cond, NULL); in ZSTDMT_createJobsTable()
982 ZSTD_pthread_cond_t const cond = mtctx->jobs[jobID].job_cond; in ZSTDMT_releaseAllJobResources()
990 mtctx->jobs[jobID].job_cond = cond; in ZSTDMT_releaseAllJobResources()
1005 ZSTD_pthread_cond_wait(&mtctx->jobs[jobID].job_cond, &mtctx->jobs[jobID].job_mutex); in ZSTDMT_waitForAllJobsCompleted()
1455 …ZSTD_pthread_cond_wait(&mtctx->jobs[wJobID].job_cond, &mtctx->jobs[wJobID].job_mutex); /* block w… in ZSTDMT_flushProduced()