Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1228 → Rev 1229

/kernel/trunk/generic/src/synch/waitq.c
160,13 → 160,13
* @param usec Timeout in microseconds.
* @param nonblocking Blocking vs. non-blocking operation mode switch.
*
* If usec is greater than zero, regardless of the value of nonblocking,
* If @usec is greater than zero, regardless of the value of @nonblocking,
* the call will not return until either timeout or wakeup comes.
*
* If usec is zero and nonblocking is zero (false), the call
* If @usec is zero and @nonblocking is zero (false), the call
* will not return until wakeup comes.
*
* If usec is zero and nonblocking is non-zero (true), the call will
* If @usec is zero and @nonblocking is non-zero (true), the call will
* immediately return, reporting either success or failure.
*
* @return Returns one of: ESYNCH_WOULD_BLOCK, ESYNCH_TIMEOUT,