thread set name

This commit is contained in:
Ariel Manzur 2015-12-17 06:24:27 -03:00
parent 6c3c20fc35
commit 10298b9534
7 changed files with 35 additions and 1 deletions

View file

@ -58,6 +58,11 @@ void Thread::wait_to_finish(Thread *p_thread) {
}
Error Thread::set_name(const String &p_name) {
return ERR_UNAVAILABLE;
};
Thread::Thread()
{
}

View file

@ -35,6 +35,7 @@
@author Juan Linietsky <reduzio@gmail.com>
*/
#include "ustring.h"
typedef void (*ThreadCreateCallback)(void *p_userdata);
@ -71,7 +72,8 @@ protected:
Thread();
public:
virtual Error set_name(const String& p_name);
virtual ID get_ID() const=0;