diff options
Diffstat (limited to 'include/apos/conf.h')
| -rw-r--r-- | include/apos/conf.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/apos/conf.h b/include/apos/conf.h index 467b1e3..33fa8e5 100644 --- a/include/apos/conf.h +++ b/include/apos/conf.h @@ -23,10 +23,24 @@ extern size_t __thread_stack_size; /** * Provides access to the runtime global parameter. + * Must be at most RPC_STACK_TOP - RPC_STACK_BASE. + * * \see __thread_stack_size. * \global * \todo This should probably also be a function instead. */ extern size_t __call_stack_size; +/** + * Provides access to the runtime global parameter. This sets the maximum size + * a single rpc stack instance can be. + * + * Must be at most a fourth of \ref __call_stack_size? + * (that way we can maybe pretty quickly check that we're running out of memory + * for stack stuff and can return an error about it) + * + * \global + */ +extern size_t __rpc_stack_size; + #endif /* APOS_CONF_H */ |
