lc-soft/LCUI



The issue has been closed
Automatically sets the default number of parallel rendering threads #193
lc-soft posted onGitHub
Is your feature request related to a problem? Please describe.
Changing the number of parallel threads requires recompiling the source code, which is too much trouble.
Describe the solution you'd like
- Refer: https://stackoverflow.com/questions/150355/programmatically-find-the-number-of-cores-on-a-machine
- Remove
PARALLEL_RENDERING_THREADS
https://github.com/lc-soft/LCUI/blob/949db382a94370ac8a6f29611d7f40c717f7587c/src/display.c#L55-L64
Describe alternatives you've considered None.
Additional context Please wait for issue #191 to close before work on this issue.