Lines Matching defs:us
161 int us, them;
164 us = (getpindex() * lm_optT) + gettindex();
166 us = gettsdindex(tsd);
169 them = (us + 1) % (lm_optP * lm_optT);
171 ts->ts_id = us;
173 /* lock index asignment for us and them */
174 ts->ts_us0 = (us * 2);
175 ts->ts_us1 = (us * 2) + 1;
176 if (us < nthreads - 1) {
206 /* allow them to block us again */
215 /* wait for them to unblock us */