Lines Matching refs:next
195 int next = current + releases;
196 if (next < current) // overflow
198 if (compareAndSetState(current, next))
206 int next = current - reductions;
207 if (next > current) // underflow
209 if (compareAndSetState(current, next))
300 * semaphore and the current thread is next to be assigned a permit; or
330 * semaphore and the current thread is next to be assigned a permit.
385 * semaphore and the current thread is next to be assigned a permit; or
448 * methods for this semaphore, the current thread is next to be assigned
486 * methods for this semaphore, the current thread is next to be assigned
549 * methods for this semaphore, the current thread is next to be assigned