Showing the changes to src/vm/vm.cpp (1 of 3 files). Show all
Unified · Split
| @@ -33,13 +33,9 @@ vm_t::vm_t( · 32 unmodified lines | |||
| 33 | _gc = create_gc(*this); | 33 | _gc = create_gc(*this); |
| 34 | 34 | ||
| 35 | if (create_scheduler == nullptr) | 35 | if (create_scheduler == nullptr) |
| 36 | { | ||
| 37 | _scheduler = std::make_unique<default_scheduler_t>(*this, default_system_thread_count, default_thread_quanta); | 36 | _scheduler = std::make_unique<default_scheduler_t>(*this, default_system_thread_count, default_thread_quanta); |
| 38 | } | ||
| 39 | else | 37 | else |
| 40 | { | ||
| 41 | _scheduler = create_scheduler(*this); | 38 | _scheduler = create_scheduler(*this); |
| 42 | } | ||
| 43 | } | 39 | } |
| 44 | 40 | ||
| 45 | vm_t::vm_t(uint32_t system_thread_count, uint32_t thread_quanta) | 41 | vm_t::vm_t(uint32_t system_thread_count, uint32_t thread_quanta) |