1
0
Fork 0
forked from suyu/suyu

fiber: Double default stack size

Stack overflow occurs with some guest applications
This commit is contained in:
MerryMage 2021-03-10 20:37:56 +00:00
parent daf5c5060b
commit 59173ff7a7

View file

@ -11,7 +11,7 @@
namespace Common { namespace Common {
constexpr std::size_t default_stack_size = 256 * 1024; constexpr std::size_t default_stack_size = 512 * 1024;
struct Fiber::FiberImpl { struct Fiber::FiberImpl {
FiberImpl() : stack{default_stack_size}, rewind_stack{default_stack_size} {} FiberImpl() : stack{default_stack_size}, rewind_stack{default_stack_size} {}