aboutsummaryrefslogtreecommitdiff
path: root/include/apos/tcb.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-11-13 17:16:28 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2022-11-13 17:16:28 +0200
commit1a0188fac0c0f265c4495b83592389b8b3645462 (patch)
treec1687724dd7f7ccf6d9d0d134c2766f14d3e39f5 /include/apos/tcb.h
parente6dc962ef7758c438039d7f8ac7e2bf3ebcb5c10 (diff)
downloadkmi-1a0188fac0c0f265c4495b83592389b8b3645462.tar.gz
kmi-1a0188fac0c0f265c4495b83592389b8b3645462.zip
outline rpc stack handling
Diffstat (limited to 'include/apos/tcb.h')
-rw-r--r--include/apos/tcb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/apos/tcb.h b/include/apos/tcb.h
index 6097153..981f352 100644
--- a/include/apos/tcb.h
+++ b/include/apos/tcb.h
@@ -389,4 +389,12 @@ void save_context(struct tcb *t);
*/
void load_context(struct tcb *t);
+/**
+ * Check that we have enough rpc stack.
+ *
+ * @param t Thread whose rpc stack to check.
+ * @return \ref true if we have enough, \ref false otherwise.
+ */
+bool enough_rpc_stack(struct tcb *t);
+
#endif /* APOS_TCB_H */