ladybird/Kernel/API/serenity_limits.h
sin-ack d9e1a6c566 Kernel: Bump maximum pthread stack size to 32MiB
The Zig compiler asks for this much stack on its main thread via the use
of PT_GNU_STACK.
2022-12-11 19:55:37 -07:00

9 lines
176 B
C

/*
* Copyright (c) 2022, sin-ack <sin-ack@protonmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#define PTHREAD_STACK_MAX (32 * 1024 * 1024) // 32MiB