mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::ctx: Move and adjust default stack size.
This commit is contained in:
parent
a4ed2debd4
commit
16ebbbfa8a
2 changed files with 7 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace ircd::ctx
|
|||
{
|
||||
struct context;
|
||||
|
||||
const size_t DEFAULT_STACK_SIZE {64_KiB};
|
||||
extern const size_t DEFAULT_STACK_SIZE;
|
||||
}
|
||||
|
||||
/// Principal interface for a context.
|
||||
|
|
|
@ -1045,6 +1045,12 @@ const noexcept
|
|||
// ctx/context.h
|
||||
//
|
||||
|
||||
decltype(ircd::ctx::DEFAULT_STACK_SIZE)
|
||||
ircd::ctx::DEFAULT_STACK_SIZE
|
||||
{
|
||||
128_KiB
|
||||
};
|
||||
|
||||
// Linkage here for default construction because ctx is internal.
|
||||
ircd::ctx::context::context()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue