Showing the changes to src/include (1 of 3 files). Show all
Unified · Split
| @@ -57,6 +57,11 @@ namespace disvm · 56 unmodified lines | ||
| 57 | 57 | public: // static |
| 58 | 58 | static const auto root_vm_thread_id = uint32_t{ 0 }; |
| 59 | 59 | |
| 60 | + static const auto default_system_thread_count = uint32_t{ 1 }; | |
| 61 | + | |
| 62 | + // The Inferno implementation defined the thread quanta as 2048 (include/interp.h) | |
| 63 | + static const auto default_thread_quanta = uint32_t{ 2048 }; | |
| 64 | + | |
| 60 | 65 | public: |
| 61 | 66 | explicit vm_t( |
| 62 | 67 | create_vm_interface_callback_t<runtime::vm_scheduler_t> create_scheduler = nullptr, |