aboutsummaryrefslogtreecommitdiff
path: root/include/apos/tcb.h
diff options
context:
space:
mode:
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 */