You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Improve robustness of atomics
And fix increment in `CowData` not being conditional anymore after the recent changes. Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
This commit is contained in:
@@ -346,6 +346,10 @@ void Main::print_help(const char *p_binary) {
|
||||
*/
|
||||
|
||||
Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_phase) {
|
||||
#if defined(DEBUG_ENABLED) && !defined(NO_THREADS)
|
||||
check_lockless_atomics();
|
||||
#endif
|
||||
|
||||
RID_OwnerBase::init_rid();
|
||||
|
||||
OS::get_singleton()->initialize_core();
|
||||
|
||||
Reference in New Issue
Block a user