Lines Matching refs:us
165 int us, them;
167 us = (getpindex() * lm_optT) + gettindex();
168 them = (us + 1) % (lm_optP * lm_optT);
170 ts->ts_id = us;
172 /* lock index asignment for us and them */
173 ts->ts_us0 = (us * 4);
174 ts->ts_us1 = (us * 4) + 2;
175 if (us < nthreads - 1) {
205 /* allow them to block us again */
214 /* wait for them to unblock us */