Changeset 96c30c8 in mainline for kernel/generic/src/ipc
- Timestamp:
- 2018-06-28T15:45:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 331d024
- Parents:
- 82453b29
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-28 15:36:29)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-28 15:45:37)
- Location:
- kernel/generic/src/ipc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
r82453b29 r96c30c8 550 550 errno_t rc; 551 551 552 restart:553 552 rc = waitq_sleep_timeout(&box->wq, usec, flags, NULL); 554 553 if (rc != EOK) … … 590 589 list_append(&request->ab_link, &box->dispatched_calls); 591 590 } else { 592 /* This can happen regularly after ipc_cleanup */ 591 /* 592 * This can happen regularly after ipc_cleanup, or in 593 * response to ipc_poke(). Let the caller sort out the wakeup. 594 */ 593 595 irq_spinlock_unlock(&box->lock, true); 594 goto restart;596 return NULL; 595 597 } 596 598 -
kernel/generic/src/ipc/sysipc.c
r82453b29 r96c30c8 856 856 sys_errno_t sys_ipc_poke(void) 857 857 { 858 waitq_ unsleep(&TASK->answerbox.wq);858 waitq_wakeup(&TASK->answerbox.wq, WAKEUP_FIRST); 859 859 return EOK; 860 860 }
Note:
See TracChangeset
for help on using the changeset viewer.