Searched refs:memlock (Results 1 – 1 of 1) sorted by relevance
95 static pthread_mutex_t memlock = PTHREAD_MUTEX_INITIALIZER; variable96 #define MEMLOCK (void)pthread_mutex_lock(&memlock)97 #define MEMUNLOCK (void)pthread_mutex_unlock(&memlock)102 static unsigned int memlock = 0; variable103 #define MEMLOCK do { INSIST(memlock == 0); memlock = 1; } while (0)104 #define MEMUNLOCK do { INSIST(memlock == 1); memlock = 0; } while (0)