|
virtual ID | get_ID () const |
|
|
static void | make_default () |
|
static Error | set_name (const String &p_name) |
|
static _FORCE_INLINE_ ID | get_main_ID () |
| get the ID of the main thread
|
|
static ID | get_caller_ID () |
| get the ID of the caller function ID
|
|
static void | wait_to_finish (Thread *p_thread) |
| waits until thread is finished, and deallocates it.
|
|
static Thread * | create (ThreadCreateCallback p_callback, void *p_user, const Settings &p_settings=Settings()) |
| Static function to create a thread, will call p_callback.
|
|
|
enum | Priority { PRIORITY_LOW,
PRIORITY_NORMAL,
PRIORITY_HIGH
} |
|
typedef uint64_t | ID |
|
static Thread *(* | create_func )(ThreadCreateCallback p_callback, void *, const Settings &) =NULL |
|
static ID(* | get_thread_ID_func )() =NULL |
|
static void(* | wait_to_finish_func )(Thread *) =NULL |
|
static Error(* | set_name_func )(const String &) =NULL |
|
static ID | _main_thread_id =0 |
|
The documentation for this class was generated from the following files:
- /Users/huihoo/Downloads/godot-2.0.4-stable/core/os/thread_dummy.h
- /Users/huihoo/Downloads/godot-2.0.4-stable/core/os/thread_dummy.cpp