From 1a0188fac0c0f265c4495b83592389b8b3645462 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 13 Nov 2022 17:16:28 +0200 Subject: outline rpc stack handling --- include/apos/tcb.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/apos/tcb.h') 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 */ -- cgit v1.3