godot/main
reduz 67a260d63f Implement a Worker ThreadPool
This PR implements a worked thread pool. It uses a fixed amount of threads in a pool and allows scheduling tasks
that can be run on threads (and then waited for). It satisfies the following use cases:

* HTML5 thread count is fixed (and similar restrictions are known in consoles) so we need to reuse threads.
* Thread spawning is slow in general, so reusing threads is faster anyway.
* This implementation supports recursive waiting for tasks, making it less prone to deadlocks if threads from the pool also run tasks.

After this is approved and merged, subsequent PRs will be needed to replace the ThreadWorkPool usage by this class.
2022-07-22 11:46:48 +02:00
..
SCsub
app_icon.png
main.cpp Implement a Worker ThreadPool 2022-07-22 11:46:48 +02:00
main.h Hide the first `--print-fps` outputs after the engine has started 2022-05-17 12:28:56 +02:00
main_builders.py
main_timer_sync.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
main_timer_sync.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
performance.cpp Add a new HashMap implementation 2022-05-12 11:21:29 +02:00
performance.h Add a new HashMap implementation 2022-05-12 11:21:29 +02:00
splash.png