1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Remove userdata from Thread.start()

This commit is contained in:
kobewi
2022-06-23 02:15:38 +02:00
parent d1dac8427a
commit a6f0aba43d
3 changed files with 10 additions and 46 deletions

View File

@@ -551,7 +551,6 @@ class Thread : public RefCounted {
protected:
Variant ret;
Variant userdata;
SafeFlag running;
Callable target_callable;
::Thread thread;
@@ -566,7 +565,7 @@ public:
PRIORITY_MAX
};
Error start(const Callable &p_callable, const Variant &p_userdata = Variant(), Priority p_priority = PRIORITY_NORMAL);
Error start(const Callable &p_callable, Priority p_priority = PRIORITY_NORMAL);
String get_id() const;
bool is_started() const;
bool is_alive() const;