Lines Matching refs:wait
180 blocking it with the given wait/interrupt flags.
217 return atomic_get(&thread->wait.status) == 1;
224 (IOW, to let it wait for someone else to unblock it or optionally time out
267 - Check client condition and compare with block result. E.g. if the wait was
302 Care must be taken when the wait can be interrupted or can time out,
329 thread->wait.flags = flags;
330 thread->wait.type = type;
331 thread->wait.object = object;
332 atomic_set(&thread->wait.status, 1);
354 if (atomic_test_and_set(&thread->wait.status, status, 1) != 1)
390 if ((thread->wait.flags & B_CAN_INTERRUPT) != 0
391 || (kill && (thread->wait.flags & B_KILL_CAN_INTERRUPT) != 0)) {