Showing the changes to src/include (1 of 5 files). Show all
Unified · Split
| @@ -827,11 +827,11 @@ namespace disvm · 826 unmodified lines | |||
| 827 | // There is no indication if this function failed or succeeded. | 827 | // There is no indication if this function failed or succeeded. |
| 828 | virtual void enqueue_blocked_thread(uint32_t thread_id) = 0; | 828 | virtual void enqueue_blocked_thread(uint32_t thread_id) = 0; |
| 829 | 829 | ||
| 830 | // Gets the number of system threads the scheduler is utilizing | ||
| 831 | virtual std::size_t get_system_thread_count() const = 0; | ||
| 832 | |||
| 830 | // Get all VM threads | 833 | // Get all VM threads |
| 831 | virtual std::vector<std::shared_ptr<const vm_thread_t>> get_all_threads() const = 0; | 834 | virtual std::vector<std::shared_ptr<const vm_thread_t>> get_all_threads() const = 0; |
| 832 | |||
| 833 | // Get runnable VM threads | ||
| 834 | virtual std::vector<std::shared_ptr<const vm_thread_t>> get_runnable_threads() const = 0; | ||
| 835 | }; | 835 | }; |
| 836 | 836 | ||
| 837 | // VM thread scheduler interface | 837 | // VM thread scheduler interface |