Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wutstdc++: Decrease the stack size for gthread threads from 4 MiB to 128 KiB #269

Merged
merged 2 commits into from
Sep 21, 2022

Conversation

Maschell
Copy link
Contributor

@Maschell Maschell commented Sep 3, 2022

At the moment the default stack size for threads is 4MiB, which seems to be way to much. Especially if you use threads in aroma modules/plugins where memory will be very limited (only ~60MiB for all plugins/modules code, data and heap).

For reference: The stack size for the default Cafe OS thread is 64Kib.

The actual value for the new stack size is open for discussion

@fincs fincs merged commit d106a44 into devkitPro:master Sep 21, 2022
@Maschell Maschell deleted the defaultstacksize branch September 21, 2022 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants