Changes in kernel/generic/src/synch/waitq.c [b7fd2a0:897fd8f1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/waitq.c
rb7fd2a0 r897fd8f1 268 268 * 269 269 */ 270 errno_t waitq_sleep_timeout(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked)270 int waitq_sleep_timeout(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked) 271 271 { 272 272 assert((!PREEMPTION_DISABLED) || (PARAM_NON_BLOCKING(flags, usec))); … … 274 274 ipl_t ipl = waitq_sleep_prepare(wq); 275 275 bool nblocked; 276 errno_t rc = waitq_sleep_timeout_unsafe(wq, usec, flags, &nblocked);276 int rc = waitq_sleep_timeout_unsafe(wq, usec, flags, &nblocked); 277 277 waitq_sleep_finish(wq, nblocked, ipl); 278 278 … … 373 373 * 374 374 */ 375 errno_t waitq_sleep_timeout_unsafe(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked)375 int waitq_sleep_timeout_unsafe(waitq_t *wq, uint32_t usec, unsigned int flags, bool *blocked) 376 376 { 377 377 *blocked = false;
Note:
See TracChangeset
for help on using the changeset viewer.