Searched refs:jobTable (Results 1 – 1 of 1) sorted by relevance
862 static void ZSTDMT_freeJobsTable(ZSTDMT_jobDescription* jobTable, U32 nbJobs, ZSTD_customMem cMem) in ZSTDMT_freeJobsTable() argument865 if (jobTable == NULL) return; in ZSTDMT_freeJobsTable()867 ZSTD_pthread_mutex_destroy(&jobTable[jobNb].job_mutex); in ZSTDMT_freeJobsTable()868 ZSTD_pthread_cond_destroy(&jobTable[jobNb].job_cond); in ZSTDMT_freeJobsTable()870 ZSTD_customFree(jobTable, cMem); in ZSTDMT_freeJobsTable()881 ZSTDMT_jobDescription* const jobTable = (ZSTDMT_jobDescription*) in ZSTDMT_createJobsTable() local884 if (jobTable==NULL) return NULL; in ZSTDMT_createJobsTable()887 initError |= ZSTD_pthread_mutex_init(&jobTable[jobNb].job_mutex, NULL); in ZSTDMT_createJobsTable()888 initError |= ZSTD_pthread_cond_init(&jobTable[jobNb].job_cond, NULL); in ZSTDMT_createJobsTable()891 ZSTDMT_freeJobsTable(jobTable, nbJobs, cMem); in ZSTDMT_createJobsTable()[all …]