Lines Matching refs:mxs
71 static pthread_mutex_t *mxs;
120 mxs = (pthread_mutex_t *)mmap(NULL,
125 if (mxs == MAP_FAILED) {
164 (void) pthread_mutex_init(&mxs[i], &ma);
175 (void) pthread_mutex_lock(&mxs[index]);
177 (void) pthread_cond_wait(&cvs[index], &mxs[index]);
180 (void) pthread_mutex_unlock(&mxs[index]);
188 (void) pthread_mutex_lock(&mxs[index]);
191 (void) pthread_mutex_unlock(&mxs[index]);
195 (void) pthread_mutex_unlock(&mxs[index]);