thread-os: fix stack overflow with glibc 2.39

* `Inconsistency detected by ld.so: dl-runtime.c: 63: _dl_fixup:
  Assertion `ELFW(R_TYPE)(reloc->r_info) == ELF_MACHINE_JMP_SLOT' failed!`
This commit is contained in:
Zihao Yu 2022-11-09 18:02:32 +08:00
parent adc316af6e
commit 245c069c4e

View file

@ -11,7 +11,7 @@ typedef union task {
void (*entry)(void *);
Context *context;
};
uint8_t stack[8192];
uint8_t stack[4096 * 3];
} Task;
Task *currents[MAX_CPU];