mirror of https://github.com/godotengine/godot
The thread model option for physics (2D) and rendering (single-unsafe,
single-safe, multithread), was causing crashes/locks when set as
multithreaded and exported for a platform that does not support threads
(namely HTML5).
This commit ensures that when threads support is not available, that
option is ignored, and the equivalent of "single-unsafe" is always used
instead.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| arvr | ||
| audio | ||
| camera | ||
| physics | ||
| physics_2d | ||
| visual | ||
| SCsub | ||
| arvr_server.cpp | ||
| arvr_server.h | ||
| audio_server.cpp | ||
| audio_server.h | ||
| camera_server.cpp | ||
| camera_server.h | ||
| physics_2d_server.cpp | ||
| physics_2d_server.h | ||
| physics_server.cpp | ||
| physics_server.h | ||
| register_server_types.cpp | ||
| register_server_types.h | ||
| server_wrap_mt_common.h | ||
| visual_server.cpp | ||
| visual_server.h | ||