Subversion Repositories HelenOS-historic

Rev

Rev 1158 | Rev 1248 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1158 Rev 1229
Line 158... Line 158...
158
 *
158
 *
159
 * @param wq Pointer to wait queue.
159
 * @param wq Pointer to wait queue.
160
 * @param usec Timeout in microseconds.
160
 * @param usec Timeout in microseconds.
161
 * @param nonblocking Blocking vs. non-blocking operation mode switch.
161
 * @param nonblocking Blocking vs. non-blocking operation mode switch.
162
 *
162
 *
163
 * If usec is greater than zero, regardless of the value of nonblocking,
163
 * If @usec is greater than zero, regardless of the value of @nonblocking,
164
 * the call will not return until either timeout or wakeup comes.
164
 * the call will not return until either timeout or wakeup comes.
165
 *
165
 *
166
 * If usec is zero and nonblocking is zero (false), the call
166
 * If @usec is zero and @nonblocking is zero (false), the call
167
 * will not return until wakeup comes.
167
 * will not return until wakeup comes.
168
 *
168
 *
169
 * If usec is zero and nonblocking is non-zero (true), the call will
169
 * If @usec is zero and @nonblocking is non-zero (true), the call will
170
 * immediately return, reporting either success or failure.
170
 * immediately return, reporting either success or failure.
171
 *
171
 *
172
 * @return Returns one of: ESYNCH_WOULD_BLOCK, ESYNCH_TIMEOUT,
172
 * @return Returns one of: ESYNCH_WOULD_BLOCK, ESYNCH_TIMEOUT,
173
 *         ESYNCH_OK_ATOMIC, ESYNCH_OK_BLOCKED.
173
 *         ESYNCH_OK_ATOMIC, ESYNCH_OK_BLOCKED.
174
 *
174
 *