Lines Matching refs:us
160 int us, them;
163 us = (getpindex() * lm_optT) + gettindex();
165 us = gettsdindex(tsd);
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 * 2);
174 ts->ts_us1 = (us * 2) + 1;
175 if (us < nthreads - 1) {
205 /* allow them to block us again */
214 /* wait for them to unblock us */