Home | History | Annotate | Download | only in isc

Lines Matching refs:locks

43 static isc_mutex_t *locks = NULL;
51 LOCK(&locks[type]);
53 UNLOCK(&locks[type]);
86 locks = calloc(nlocks, sizeof(locks[0]));
87 isc_mutexblock_init(locks, nlocks);
147 if (locks != NULL) {
148 isc_mutexblock_destroy(locks, nlocks);
149 free(locks);
150 locks = NULL;