mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Modernize RWLock
- Based on C++14's `shared_time_mutex` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed - Simpler for `NO_THREADS`
This commit is contained in:
parent
869f5b5328
commit
8ed259b792
20 changed files with 103 additions and 518 deletions
|
|
@ -388,8 +388,6 @@ Error Main::test_setup() {
|
|||
|
||||
engine = memnew(Engine);
|
||||
|
||||
ClassDB::init();
|
||||
|
||||
register_core_types();
|
||||
register_core_driver_types();
|
||||
|
||||
|
|
@ -507,8 +505,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
|||
|
||||
engine = memnew(Engine);
|
||||
|
||||
ClassDB::init();
|
||||
|
||||
MAIN_PRINT("Main: Initialize CORE");
|
||||
|
||||
register_core_types();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue