diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/kmi/notify.h | 3 | ||||
| -rw-r--r-- | include/kmi/syscalls.h | 2 | ||||
| -rw-r--r-- | include/kmi/tcb.h | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/include/kmi/notify.h b/include/kmi/notify.h index 554758c..c0c5d8b 100644 --- a/include/kmi/notify.h +++ b/include/kmi/notify.h @@ -28,7 +28,8 @@ * Implemented in uapi/ipc.c. * * @param t Thread to send notification to. - * @param flag Which type of notification to send. + * @param flag Which type of notification to send. If 0, sends out queued + * notifications if there are any, otherwise just returns. */ void notify(struct tcb *t, enum notify_flag flag); diff --git a/include/kmi/syscalls.h b/include/kmi/syscalls.h index 92ea264..c78ddae 100644 --- a/include/kmi/syscalls.h +++ b/include/kmi/syscalls.h @@ -175,7 +175,7 @@ enum notify_flag { /** A timer has expired. */ NOTIFY_TIMER = (1 << 1), - /** An interrupt. */ + /** An interrupt request. */ NOTIFY_IRQ = (1 << 2), }; diff --git a/include/kmi/tcb.h b/include/kmi/tcb.h index 1209a79..b52f5e3 100644 --- a/include/kmi/tcb.h +++ b/include/kmi/tcb.h @@ -181,9 +181,6 @@ struct tcb { * this id, might change in the future. */ id_t notify_id; - /** Notifcation state of thread. */ - enum tcb_notify notify_state; - /** Currently waiting notifications. */ enum notify_flag notify_flags; |
