Changeset 111b9b9 in mainline for kernel/generic/src/ipc
- Timestamp:
- 2023-02-11T19:13:44Z (2 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4777e02
- Parents:
- 76e17d7c
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2022-08-15 17:46:39)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-11 19:13:44)
- Location:
- kernel/generic/src/ipc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/event.c
r76e17d7c r111b9b9 169 169 true); 170 170 171 waitq_wakeup(&event->answerbox->wq, 172 WAKEUP_FIRST); 171 waitq_wake_one(&event->answerbox->wq); 173 172 174 173 if (mask) -
kernel/generic/src/ipc/ipc.c
r76e17d7c r111b9b9 326 326 irq_spinlock_unlock(&callerbox->lock, true); 327 327 328 waitq_wake up(&callerbox->wq, WAKEUP_FIRST);328 waitq_wake_one(&callerbox->wq); 329 329 } 330 330 … … 416 416 irq_spinlock_unlock(&box->lock, true); 417 417 418 waitq_wake up(&box->wq, WAKEUP_FIRST);418 waitq_wake_one(&box->wq); 419 419 } 420 420 … … 555 555 errno_t rc; 556 556 557 rc = waitq_sleep_timeout(&box->wq, usec, flags, NULL);557 rc = _waitq_sleep_timeout(&box->wq, usec, flags); 558 558 if (rc != EOK) 559 559 return rc; -
kernel/generic/src/ipc/irq.c
r76e17d7c r111b9b9 429 429 irq_spinlock_unlock(&irq->notif_cfg.answerbox->irq_lock, false); 430 430 431 waitq_wake up(&irq->notif_cfg.answerbox->wq, WAKEUP_FIRST);431 waitq_wake_one(&irq->notif_cfg.answerbox->wq); 432 432 } 433 433 -
kernel/generic/src/ipc/sysipc.c
r76e17d7c r111b9b9 871 871 sys_errno_t sys_ipc_poke(void) 872 872 { 873 waitq_wake up(&TASK->answerbox.wq, WAKEUP_FIRST);873 waitq_wake_one(&TASK->answerbox.wq); 874 874 return EOK; 875 875 }
Note:
See TracChangeset
for help on using the changeset viewer.