Changeset 07700ed in mainline
- Timestamp:
- 2023-02-05T14:43:59Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 61eb2ce2
- Parents:
- 33a3be8
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-05 14:38:15)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-05 14:43:59)
- Location:
- kernel/generic/src/udebug
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug.c
r33a3be8 r07700ed 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 … … 446 441 * 447 442 */ 448 waitq_wakeup(&thread->udebug.go_wq, WAKEUP_ FIRST);443 waitq_wakeup(&thread->udebug.go_wq, WAKEUP_ALL); 449 444 } 450 445 -
kernel/generic/src/udebug/udebug_ops.c
r33a3be8 r07700ed 281 281 * 282 282 */ 283 waitq_wakeup(&thread->udebug.go_wq, WAKEUP_ FIRST);283 waitq_wakeup(&thread->udebug.go_wq, WAKEUP_ALL); 284 284 285 285 _thread_op_end(thread);
Note:
See TracChangeset
for help on using the changeset viewer.