Changes in kernel/generic/src/udebug/udebug.c [63e27ef:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug.c
r63e27ef rb7fd2a0 98 98 99 99 wq->missed_wakeups = 0; /* Enforce blocking. */ 100 int rc = waitq_sleep_timeout_unsafe(wq, SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE);101 102 waitq_sleep_finish(wq, rc, ipl);100 bool blocked; 101 (void) waitq_sleep_timeout_unsafe(wq, SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE, &blocked); 102 waitq_sleep_finish(wq, blocked, 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 negativeerror code.397 * 398 */ 399 int udebug_task_cleanup(struct task *task)396 * @return Zero on success or an error code. 397 * 398 */ 399 errno_t 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.