Lines Matching defs:us
211 int us, them;
214 us = (getpindex() * lm_optT) + gettindex();
216 us = gettsdindex(tsd);
219 them = (us + 1) % (lm_optP * lm_optT);
221 ts->ts_id = us;
223 /* lock index asignment for us and them */
224 ts->ts_us0 = (us * 2);
225 ts->ts_us1 = (us * 2) + 1;
226 if (us < nthreads - 1) {
256 /* allow them to block us again */
265 /* wait for them to unblock us */