Lines Matching refs:us
156 int us, them;
158 us = (getpindex() * lm_optT) + gettindex();
159 them = (us + 1) % (lm_optP * lm_optT);
161 ts->ts_id = us;
163 /* lock index asignment for us and them */
164 ts->ts_us0 = (us * 2);
165 ts->ts_us1 = (us * 2) + 1;
166 if (us < nthreads - 1) {
196 /* allow them to block us again */
205 /* wait for them to unblock us */