Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c635 ZSTD_pthread_cond_t job_cond; /* Thread-safe - used by mtctx and worker */ member
738 … ZSTD_pthread_cond_signal(&job->job_cond); /* warns some more data is ready to be flushed */ in ZSTDMT_compressionJob()
767 ZSTD_pthread_cond_signal(&job->job_cond); in ZSTDMT_compressionJob()
840 ZSTD_pthread_cond_destroy(&jobTable[jobNb].job_cond); in ZSTDMT_freeJobsTable()
860 initError |= ZSTD_pthread_cond_init(&jobTable[jobNb].job_cond, NULL); in ZSTDMT_createJobsTable()
954 ZSTD_pthread_cond_t const cond = mtctx->jobs[jobID].job_cond; in ZSTDMT_releaseAllJobResources()
962 mtctx->jobs[jobID].job_cond = cond; in ZSTDMT_releaseAllJobResources()
977 ZSTD_pthread_cond_wait(&mtctx->jobs[jobID].job_cond, &mtctx->jobs[jobID].job_mutex); in ZSTDMT_waitForAllJobsCompleted()
1425 …ZSTD_pthread_cond_wait(&mtctx->jobs[wJobID].job_cond, &mtctx->jobs[wJobID].job_mutex); /* block w… in ZSTDMT_flushProduced()