You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Enhance portability of threading
This commit is contained in:
@@ -70,7 +70,7 @@ static Error set_name(const String &p_name) {
|
||||
}
|
||||
|
||||
void init_thread_posix() {
|
||||
Thread::_set_platform_funcs(&set_name, nullptr);
|
||||
Thread::_set_platform_functions({ .set_name = set_name });
|
||||
}
|
||||
|
||||
#endif // UNIX_ENABLED || PTHREAD_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user