Searched refs:jobTable (Results 1 – 1 of 1) sorted by relevance
834 static void ZSTDMT_freeJobsTable(ZSTDMT_jobDescription* jobTable, U32 nbJobs, ZSTD_customMem cMem) in ZSTDMT_freeJobsTable() argument837 if (jobTable == NULL) return; in ZSTDMT_freeJobsTable()839 ZSTD_pthread_mutex_destroy(&jobTable[jobNb].job_mutex); in ZSTDMT_freeJobsTable()840 ZSTD_pthread_cond_destroy(&jobTable[jobNb].job_cond); in ZSTDMT_freeJobsTable()842 ZSTD_customFree(jobTable, cMem); in ZSTDMT_freeJobsTable()853 ZSTDMT_jobDescription* const jobTable = (ZSTDMT_jobDescription*) in ZSTDMT_createJobsTable() local856 if (jobTable==NULL) return NULL; in ZSTDMT_createJobsTable()859 initError |= ZSTD_pthread_mutex_init(&jobTable[jobNb].job_mutex, NULL); in ZSTDMT_createJobsTable()860 initError |= ZSTD_pthread_cond_init(&jobTable[jobNb].job_cond, NULL); in ZSTDMT_createJobsTable()863 ZSTDMT_freeJobsTable(jobTable, nbJobs, cMem); in ZSTDMT_createJobsTable()[all …]