mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Remove NO_THREADS fallback code, Godot 4 requires thread support
This also removes `OS::can_use_threads` from the public API since it's always true.
This commit is contained in:
parent
d331b803b8
commit
54418ea659
29 changed files with 13 additions and 561 deletions
|
|
@ -38,8 +38,6 @@
|
|||
#include "core/templates/command_queue_mt.h"
|
||||
#include "tests/test_macros.h"
|
||||
|
||||
#if !defined(NO_THREADS)
|
||||
|
||||
namespace TestCommandQueue {
|
||||
|
||||
class ThreadWork {
|
||||
|
|
@ -426,6 +424,4 @@ TEST_CASE("[Stress][CommandQueue] Stress test command queue") {
|
|||
}
|
||||
} // namespace TestCommandQueue
|
||||
|
||||
#endif // !defined(NO_THREADS)
|
||||
|
||||
#endif // TEST_COMMAND_QUEUE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue