Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/udebug/udebug.c

    r63e27ef rb7fd2a0  
    9898       
    9999        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);
    103103}
    104104
     
    394394 * @param task Task structure. task->udebug.lock must be already locked.
    395395 *
    396  * @return Zero on success or negative error code.
    397  *
    398  */
    399 int udebug_task_cleanup(struct task *task)
     396 * @return Zero on success or an error code.
     397 *
     398 */
     399errno_t udebug_task_cleanup(struct task *task)
    400400{
    401401        assert(mutex_locked(&task->udebug.lock));
Note: See TracChangeset for help on using the changeset viewer.