feat: updated engine version to 4.4-rc1
This commit is contained in:
parent
ee00efde1f
commit
21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions
|
|
@ -29,17 +29,17 @@
|
|||
/**************************************************************************/
|
||||
|
||||
#include "platform_config.h"
|
||||
#ifndef PLATFORM_THREAD_OVERRIDE // See details in thread.h
|
||||
|
||||
#ifndef PLATFORM_THREAD_OVERRIDE // See details in thread.h.
|
||||
|
||||
#include "thread.h"
|
||||
|
||||
#ifdef THREADS_ENABLED
|
||||
#include "core/object/script_language.h"
|
||||
#include "core/templates/safe_refcount.h"
|
||||
|
||||
SafeNumeric<uint64_t> Thread::id_counter(1); // The first value after .increment() is 2, hence by default the main thread ID should be 1.
|
||||
thread_local Thread::ID Thread::caller_id = Thread::id_counter.increment();
|
||||
|
||||
thread_local Thread::ID Thread::caller_id = Thread::UNASSIGNED_ID;
|
||||
#endif
|
||||
|
||||
Thread::PlatformFunctions Thread::platform_functions;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue