mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
a37c30dfc9
On Linux, thread IDs were not properly assigned with the current approach. The line: `std::thread new_thread(&Thread::callback, _thread_id_hash(thread.get_id()), p_settings, p_callback, p_user);` does not work because the thread ID is not assigned until the thread starts. This PR changes the behavior to use manually generated thread IDs. Additionally, if a thread is (or may have been created) outside Godot, the method `Thread::attach_external_thread` was added. |
||
---|---|---|
.. | ||
app_icon.png | ||
main_builders.py | ||
main_timer_sync.cpp | ||
main_timer_sync.h | ||
main.cpp | ||
main.h | ||
performance.cpp | ||
performance.h | ||
SCsub | ||
splash.png |