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

/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dmemcluster.c95 static pthread_mutex_t memlock = PTHREAD_MUTEX_INITIALIZER; variable
96 #define MEMLOCK (void)pthread_mutex_lock(&memlock)
97 #define MEMUNLOCK (void)pthread_mutex_unlock(&memlock)
102 static unsigned int memlock = 0; variable
103 #define MEMLOCK do { INSIST(memlock == 0); memlock = 1; } while (0)
104 #define MEMUNLOCK do { INSIST(memlock == 1); memlock = 0; } while (0)

Completed in 18 milliseconds