feat adjust stack_size = 128k
Some checks failed
android / build (push) Successful in 4m55s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 5m38s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 6m43s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 7m18s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 7m55s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 9m52s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 4m39s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 6m16s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 4m40s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 6m1s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 12m58s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 8m2s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 5m49s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 4m25s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 7m25s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 17m17s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 6m23s

This commit is contained in:
tqcq 2024-06-12 22:52:23 +08:00
parent f6dea4fa2d
commit 6229d0db14

View File

@ -15,7 +15,7 @@ namespace detail {
static thread_local Fiber *tls_current_fiber = nullptr;
static thread_local Fiber *tls_master_fiber = nullptr;
constexpr std::size_t kStackSize = 8192;
constexpr std::size_t kStackSize = 128 * 1024; // 128k
constexpr std::size_t kAlignSize = 16;
void FiberEntry(fcontext_transfer_t t) {