summaryrefslogtreecommitdiff
path: root/Kernel/API/serenity_limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/API/serenity_limits.h')
-rw-r--r--Kernel/API/serenity_limits.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Kernel/API/serenity_limits.h b/Kernel/API/serenity_limits.h
new file mode 100644
index 0000000000..6fe025f535
--- /dev/null
+++ b/Kernel/API/serenity_limits.h
@@ -0,0 +1,9 @@
+/*
+ * Copyright (c) 2022, sin-ack <sin-ack@protonmail.com>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#pragma once
+
+#define PTHREAD_STACK_MAX (8 * 1024 * 1024) // 8MiB