Lines Matching refs:us
211 int us, them;
213 us = (getpindex() * lm_optT) + gettindex();
214 them = (us + 1) % (lm_optP * lm_optT);
216 ts->ts_id = us;
218 /* lock index asignment for us and them */
219 ts->ts_us0 = (us * 2);
220 ts->ts_us1 = (us * 2) + 1;
221 if (us < nthreads - 1) {
251 /* allow them to block us again */
260 /* wait for them to unblock us */