Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The implements almost all of the missing stuff in gkernel. Missing is
There is an extremely basic test which runs two processes that suspend in a loop. It should catch very basic issues with dead-pool-heap, set-to-run, deactivate, and thread suspend and resume. It does not check these particularly thoroughly and better tests are needed to make sure registers/stacks aren't being messed up.
We also do not test:
run-function-in-process
gstate.gc
first)relocate.gc
for the relocate method of process)trans
andpost
The plan is to improve multiple
rlet
s in the same function and build a new static data "compiler" for the compiler and then address these issues. For now this test is enough to make sure that the kernel is at least mostly working.