thread set name
This commit is contained in:
parent
6c3c20fc35
commit
10298b9534
7 changed files with 35 additions and 1 deletions
|
|
@ -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()
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue