Showing the changes to src/vm/vm.cpp (1 of 3 files). Show all
Unified · Split
| @@ -34,12 +34,7 @@ vm_t::vm_t( · 33 unmodified lines | |||
| 34 | 34 | ||
| 35 | if (create_scheduler == nullptr) | 35 | if (create_scheduler == nullptr) |
| 36 | { | 36 | { |
| 37 | const auto system_thread_count = uint32_t{ 1 }; | 37 | _scheduler = std::make_unique<default_scheduler_t>(*this, default_system_thread_count, default_thread_quanta); |
| 38 | |||
| 39 | // The Inferno implementation defined the thread quanta as 2048 (include/interp.h) | ||
| 40 | const auto thread_quanta = uint32_t{ 2048 }; | ||
| 41 | |||
| 42 | _scheduler = std::make_unique<default_scheduler_t>(*this, system_thread_count, thread_quanta); | ||
| 43 | } | 38 | } |
| 44 | else | 39 | else |
| 45 | { | 40 | { |