Searched refs:tablelock (Results 1 - 2 of 2) sorted by relevance

/external/mdnsresponder/mDNSShared/
H A Ddnsextd.h140 pthread_mutex_t tablelock; // mutex for lease table member in struct:__anon26856
H A Ddnsextd.c843 if (pthread_mutex_lock(&d->tablelock)) { LogErr("PrintTable", "pthread_mutex_lock"); return; }
857 pthread_mutex_unlock(&d->tablelock);
1143 if (pthread_mutex_init(&d->tablelock, NULL)) { LogErr("InitLeaseTable", "pthread_mutex_init"); return -1; }
1345 if (pthread_mutex_lock(&d->tablelock)) { LogErr("DeleteRecords", "pthread_mutex_lock"); return; }
1365 pthread_mutex_unlock(&d->tablelock);
1385 if (pthread_mutex_lock(&d->tablelock)) { LogErr("UpdateLeaseTable", "pthread_mutex_lock"); return; }
1470 pthread_mutex_unlock(&d->tablelock);

Completed in 92 milliseconds