Searched refs:memlock (Results 1 – 1 of 1) sorted by relevance
90 static pthread_mutex_t memlock = PTHREAD_MUTEX_INITIALIZER; variable91 #define MEMLOCK (void)pthread_mutex_lock(&memlock)92 #define MEMUNLOCK (void)pthread_mutex_unlock(&memlock)97 static unsigned int memlock = 0; variable98 #define MEMLOCK do { INSIST(memlock == 0); memlock = 1; } while (0)99 #define MEMUNLOCK do { INSIST(memlock == 1); memlock = 0; } while (0)