Rather than charge consumed time to the current thread at the point where it is exhausted in a long-running syscall, we only check whether checkBudget would fail and raise an exception if it would. We then always charge after handleInvocation rather than avoid-double charging. This is done as it is easier to add the exhaustion case in the abstract spec in this manner (without also adding changes to the current SC). Signed-off-by: Curtis Millar <curtis@curtism.me> |
||
|---|---|---|
| .. | ||
| boot.h | ||
| cspace.h | ||
| faulthandler.h | ||
| sporadic.h | ||
| stack.h | ||
| thread.h | ||
| traps.h | ||
| vspace.h | ||