Searched refs:firstJob (Results 1 – 1 of 1) sorted by relevance
587 unsigned firstJob; /* set by mtctx, then read by worker => no barrier */ member629 assert(job->firstJob); /* only allowed for first job */ in ZSTDMT_compressionJob()632 U64 const pledgedSrcSize = job->firstJob ? job->fullFrameSize : job->src.size; in ZSTDMT_compressionJob()633 … forceWindowError = ZSTD_CCtxParam_setParameter(&jobParams, ZSTD_p_forceMaxWindow, !job->firstJob); in ZSTDMT_compressionJob()650 if (!job->firstJob) { /* flush and overwrite frame header when it's not first job */ in ZSTDMT_compressionJob()1127 mtctx->jobs[u].firstJob = (u==0); in ZSTDMT_compress_advanced_internal()1377 assert(job->firstJob == 0); /* cannot be first job, as it also needs to create frame header */ in ZSTDMT_writeLastEmptyBlock()1421 mtctx->jobs[jobID].firstJob = (mtctx->nextJobID==0); in ZSTDMT_createCompressionJob()