0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-02 18:18:56 +02:00

ircd::ctx: Move and adjust default stack size.

This commit is contained in:
Jason Volk 2018-12-28 14:07:40 -08:00
parent a4ed2debd4
commit 16ebbbfa8a
2 changed files with 7 additions and 1 deletions

View file

@ -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.

View file

@ -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()
{