Description
The way that Sandbox execution can be terminated by the host is inefficient and inflexible, at present we control this from within the host library and only allow termination based on wall clock execution times, in addition this is implemented by creating a thread for each Sandbox which results in additional context switching.
- Implement a Kill function in the API that takes a pointer or handle to a sandbox.
- Remove the additional thread creation and execute guest calls on the callers thread.
- Implement a sample that shows how to use the Kill API to terminate sandboxes after n milliseconds of activity
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress