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:
parent
adc316af6e
commit
245c069c4e
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ typedef union task {
|
||||||
void (*entry)(void *);
|
void (*entry)(void *);
|
||||||
Context *context;
|
Context *context;
|
||||||
};
|
};
|
||||||
uint8_t stack[8192];
|
uint8_t stack[4096 * 3];
|
||||||
} Task;
|
} Task;
|
||||||
|
|
||||||
Task *currents[MAX_CPU];
|
Task *currents[MAX_CPU];
|
||||||
|
|
Loading…
Reference in a new issue