Home
last modified time | relevance | path

Searched refs:memlock (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dmemcluster.c90 static pthread_mutex_t memlock = PTHREAD_MUTEX_INITIALIZER; variable
91 #define MEMLOCK (void)pthread_mutex_lock(&memlock)
92 #define MEMUNLOCK (void)pthread_mutex_unlock(&memlock)
97 static unsigned int memlock = 0; variable
98 #define MEMLOCK do { INSIST(memlock == 0); memlock = 1; } while (0)
99 #define MEMUNLOCK do { INSIST(memlock == 1); memlock = 0; } while (0)