diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-10-19 17:27:01 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2021-10-25 17:58:54 +0200 |
| commit | 86c65e875b7dde8872dc81a37aa9dca72eee7782 (patch) | |
| tree | 6249023f8f0d56392400c7ebb72238ee848f740a /opendc-compute/opendc-compute-service | |
| parent | ba310a3545c9631e1e4ff61a0a1759228ec5cf63 (diff) | |
refactor(simulator): Support running workloads without coroutines
This change updates the SimMachine interface to drop the coroutine
requirement for running a workload on a machines. Users can now
asynchronously start a workload and receive notifications via the
workload callbacks.
Users still have the possibility to suspend execution during workload
execution by using the new `runWorkload` method, which is implemented on
top of the new `startWorkload` primitive.
Diffstat (limited to 'opendc-compute/opendc-compute-service')
0 files changed, 0 insertions, 0 deletions
