feat: updated godot version
This commit is contained in:
parent
0c508b0831
commit
42b028dbb5
4694 changed files with 236470 additions and 401376 deletions
|
|
@ -31,29 +31,31 @@
|
|||
#include "message_queue.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/script_language.h"
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
#ifdef DEV_ENABLED
|
||||
// Includes safety checks to ensure that a queue set as a thread singleton override
|
||||
// is only ever called from the thread it was set for.
|
||||
#define LOCK_MUTEX \
|
||||
#define LOCK_MUTEX \
|
||||
if (this != MessageQueue::thread_singleton) { \
|
||||
DEV_ASSERT(!is_current_thread_override); \
|
||||
mutex.lock(); \
|
||||
} else { \
|
||||
DEV_ASSERT(is_current_thread_override); \
|
||||
DEV_ASSERT(!is_current_thread_override); \
|
||||
mutex.lock(); \
|
||||
} else { \
|
||||
DEV_ASSERT(is_current_thread_override); \
|
||||
}
|
||||
#else
|
||||
#define LOCK_MUTEX \
|
||||
#define LOCK_MUTEX \
|
||||
if (this != MessageQueue::thread_singleton) { \
|
||||
mutex.lock(); \
|
||||
mutex.lock(); \
|
||||
}
|
||||
#endif
|
||||
|
||||
#define UNLOCK_MUTEX \
|
||||
#define UNLOCK_MUTEX \
|
||||
if (this != MessageQueue::thread_singleton) { \
|
||||
mutex.unlock(); \
|
||||
mutex.unlock(); \
|
||||
}
|
||||
|
||||
void CallQueue::_add_page() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue