Commit Graph

5 Commits

Author SHA1 Message Date
Maschell
d106a44cf5 wutstdc++: Add weak variable __wut_thread_default_stack_size to override the default stack size 2022-09-21 21:01:43 +02:00
Maschell
be79908dbd wutstdc++: Fix potential memory leak when thread creation fails. 2022-09-17 21:53:17 +02:00
Maschell
6c1388abd7 wutstdc++: Check if memory allocations were successful on thread creation 2022-09-17 21:46:25 +02:00
James Benton
d39e7cad4a wutstdc++: Use OSSetThreadRunQuantum in gthread implementation.
To emulate pre-emptive scheduling which is what would be expected from
gthread.
2020-01-18 10:58:02 +00:00
fincs
ee3bb10df4 First pass at adopting a devkitPro-style build system, see details:
- Added wut_rules and wut/rpx/rpl.specs to share/
- Replaced wut's CMake-based buildsystem with a standard Makefile
- Conflated all wut libraries into a single libwut.a library
- wut's old buildsystems (CMake & plain make) are broken as a result,
  this will be fixed in the future
- Docs, tests and samples are not buildable either at the moment
- wutcrt/wutnewlib:
  - RPX start function is __rpx_start, while RPL is __rpl_start
  - __init/fini_wut_* functions are no longer weak
  - __init_wut/__fini_wut are instead weak
  - Removed _exit implementation
  - exit syscall now points to _Exit instead of pointing to itself
- wutstdc++:
  - Renamed .cc files to .cpp
  - Temporarily disabled, due to an issue that will be addressed shortly
- wutdevoptab:
  - Fixed uninitialized variable warnings in __wut_fs_read/write
2019-02-12 12:46:28 +01:00