Ignore:
File:
1 edited

Legend:

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

    r5667dca r111b9b9  
    9494static void udebug_wait_for_go(waitq_t *wq)
    9595{
    96         ipl_t ipl = waitq_sleep_prepare(wq);
    97 
    98         wq->missed_wakeups = 0;  /* Enforce blocking. */
    99         bool blocked;
    100         (void) waitq_sleep_timeout_unsafe(wq, SYNCH_NO_TIMEOUT, SYNCH_FLAGS_NONE, &blocked);
    101         waitq_sleep_finish(wq, blocked, ipl);
     96        waitq_sleep(wq);
    10297}
    10398
     
    443438                                /*
    444439                                 * thread's lock must not be held when calling
    445                                  * waitq_wakeup.
     440                                 * waitq_close.
    446441                                 *
    447442                                 */
    448                                 waitq_wakeup(&thread->udebug.go_wq, WAKEUP_FIRST);
     443                                waitq_close(&thread->udebug.go_wq);
    449444                        }
    450445
Note: See TracChangeset for help on using the changeset viewer.