feat: increase stak size

This commit is contained in:
Martin Eyben 2025-04-25 16:06:07 +02:00
parent 72ca4177d3
commit 217c79b3ac

View File

@ -33,7 +33,7 @@
#endif
#ifndef STACK_SIZE
#define STACK_SIZE 4096
#define STACK_SIZE 128 * 1024
#endif
// Variables used to clean up everything at the end of the processus
@ -296,7 +296,7 @@ void __attribute__((constructor)) setup_main_thread()
// Create an entry for the main thread.
struct context_entry_t *new_entry;
for (int i = 0; i < 2000; ++i) {
for (int i = 0; i < 10000; ++i) {
new_entry = malloc(sizeof(*new_entry));
memset(new_entry->stack, 0, STACK_SIZE);