Showing the changes to src/vm/vm.cpp (1 of 14 files). Show all
Unified · Split
| @@ -20,6 +20,12 @@ · 19 unmodified lines | |||
| 20 | using namespace disvm; | 20 | using namespace disvm; |
| 21 | using namespace disvm::runtime; | 21 | using namespace disvm::runtime; |
| 22 | 22 | ||
| 23 | const uint32_t vm_t::root_vm_thread_id = 0; | ||
| 24 | const uint32_t vm_t::default_system_thread_count = 1; | ||
| 25 | |||
| 26 | // The Inferno implementation defined the thread quanta as 2048 (include/interp.h) | ||
| 27 | const uint32_t vm_t::default_thread_quanta = 2048; | ||
| 28 | |||
| 23 | vm_t::vm_t( | 29 | vm_t::vm_t( |
| 24 | create_vm_interface_callback_t<runtime::vm_scheduler_t> create_scheduler, | 30 | create_vm_interface_callback_t<runtime::vm_scheduler_t> create_scheduler, |
| 25 | create_vm_interface_callback_t<runtime::vm_garbage_collector_t> create_gc) | 31 | create_vm_interface_callback_t<runtime::vm_garbage_collector_t> create_gc) |