Changes in kernel/generic/src/udebug/udebug.c [b7fd2a0:63e27ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug.c
rb7fd2a0 r63e27ef 98 98 99 99 wq->missed_wakeups = 0; /* Enforce blocking. */ 100 bool blocked;101 (void) waitq_sleep_timeout_unsafe(wq, SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE, &blocked);102 waitq_sleep_finish(wq, blocked, ipl);100 int rc = waitq_sleep_timeout_unsafe(wq, SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE); 101 102 waitq_sleep_finish(wq, rc, ipl); 103 103 } 104 104 … … 394 394 * @param task Task structure. task->udebug.lock must be already locked. 395 395 * 396 * @return Zero on success or anerror code.397 * 398 */ 399 errno_t udebug_task_cleanup(struct task *task)396 * @return Zero on success or negative error code. 397 * 398 */ 399 int udebug_task_cleanup(struct task *task) 400 400 { 401 401 assert(mutex_locked(&task->udebug.lock));
Note:
See TracChangeset
for help on using the changeset viewer.