Lines Matching defs:mywait
37 waiter_t mywait;
40 (void) cond_init(&(mywait.w_waitcv), USYNC_THREAD, 0);
41 mywait.w_key = entry;
42 mywait.w_signaled = 0;
43 mywait.w_next = wchan->w_next;
44 mywait.w_prev = wchan;
45 if (mywait.w_next)
46 mywait.w_next->w_prev = &mywait;
47 wchan->w_next = &mywait;
53 while (!mywait.w_signaled)
54 (void) cond_wait(&(mywait.w_waitcv), &nscdb->db_mutex);
55 if (mywait.w_prev)
56 mywait.w_prev->w_next = mywait.w_next;
57 if (mywait.w_next)
58 mywait.w_next->w_prev = mywait.w_prev;