From 10298b9534937c8662fe6bea6dcf79457bd53970 Mon Sep 17 00:00:00 2001 From: Ariel Manzur Date: Thu, 17 Dec 2015 06:24:27 -0300 Subject: thread set name --- core/bind/core_bind.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/bind/core_bind.h') diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 24ea810767..172f33dac5 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -508,6 +508,7 @@ protected: Object *target_instance; StringName target_method; Thread *thread; + String name; static void _bind_methods(); static void _start_func(void *ud); public: @@ -523,6 +524,7 @@ public: String get_id() const; bool is_active() const; Variant wait_to_finish(); + Error set_name(const String& p_name); _Thread(); ~_Thread(); -- cgit v1.2.3