godot/main
Juan Linietsky a37c30dfc9 Fix thread IDs.
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.
2023-04-24 15:13:58 +02:00
..
app_icon.png
main_builders.py
main_timer_sync.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
main_timer_sync.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
main.cpp Fix thread IDs. 2023-04-24 15:13:58 +02:00
main.h Fix thread IDs. 2023-04-24 15:13:58 +02:00
performance.cpp Fix 'Navigation Process' monitor initialization 2023-01-13 23:47:31 +01:00
performance.h Add NavigationServer Performance Monitor 2023-01-08 22:58:21 +01:00
SCsub
splash.png