Changes in kernel/generic/src/udebug/udebug.c [5667dca:111b9b9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug.c
r5667dca r111b9b9 94 94 static void udebug_wait_for_go(waitq_t *wq) 95 95 { 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); 102 97 } 103 98 … … 443 438 /* 444 439 * thread's lock must not be held when calling 445 * waitq_ wakeup.440 * waitq_close. 446 441 * 447 442 */ 448 waitq_ wakeup(&thread->udebug.go_wq, WAKEUP_FIRST);443 waitq_close(&thread->udebug.go_wq); 449 444 } 450 445
Note:
See TracChangeset
for help on using the changeset viewer.