Searched refs:tablelock (Results 1 – 2 of 2) sorted by relevance
140 pthread_mutex_t tablelock; // mutex for lease table member
843 if (pthread_mutex_lock(&d->tablelock)) { LogErr("PrintTable", "pthread_mutex_lock"); return; } in PrintLeaseTable()857 pthread_mutex_unlock(&d->tablelock); in PrintLeaseTable()1143 …if (pthread_mutex_init(&d->tablelock, NULL)) { LogErr("InitLeaseTable", "pthread_mutex_init"); ret… in InitLeaseTable()1345 if (pthread_mutex_lock(&d->tablelock)) { LogErr("DeleteRecords", "pthread_mutex_lock"); return; } in DeleteRecords()1365 pthread_mutex_unlock(&d->tablelock); in DeleteRecords()1385 …if (pthread_mutex_lock(&d->tablelock)) { LogErr("UpdateLeaseTable", "pthread_mutex_lock"); return;… in UpdateLeaseTable()1470 pthread_mutex_unlock(&d->tablelock); in UpdateLeaseTable()