diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-10-22 18:39:57 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-10-22 18:39:57 +0300 |
| commit | 6be4e656cbf575dbcba95de4e99183586aa88ffe (patch) | |
| tree | c3fde91dd1d00d199804e7901df79e4de91d9cc7 /include/apos/tcb.h | |
| parent | 22eeabc6c63e220d628417ea525c8838f3fae913 (diff) | |
| download | kmi-6be4e656cbf575dbcba95de4e99183586aa88ffe.tar.gz kmi-6be4e656cbf575dbcba95de4e99183586aa88ffe.zip | |
create impl and CAP_PROC checking
Diffstat (limited to 'include/apos/tcb.h')
| -rw-r--r-- | include/apos/tcb.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/apos/tcb.h b/include/apos/tcb.h index a31e308..b92cd10 100644 --- a/include/apos/tcb.h +++ b/include/apos/tcb.h @@ -268,11 +268,18 @@ struct tcb *cur_tcb(); /** * Get currently executing process. * - * @return Current process \ref tcb. + * @return Effective process \ref tcb. */ struct tcb *cur_proc(); /** + * Get currently executing process. + * + * @return Effective process \ref tcb. + */ +struct tcb *eff_proc(); + +/** * Set \c t as current \ref tcb. * * Also updates the current cpu id of the tcb. |
