docs: preemption does not use fastpasth restore

main
Sean McBride 4 years ago
parent 5dc987c301
commit 24beddd369

@ -56,8 +56,8 @@ arch_mcontext_restore(mcontext_t *active_context, struct arch_context *sandbox_c
} }
/** /**
* Restore a sandbox that was previously executing and preempted for higher-priority work. * Restore a sandbox saved using a fastpath switch, restoring only the
* This method restores only the instruction pointer and stack pointer registers rather than * instruction pointer and stack pointer registers rather than
* a full mcontext, so it is less expensive than arch_mcontext_restore. * a full mcontext, so it is less expensive than arch_mcontext_restore.
* @param active_context - the context of the current worker thread * @param active_context - the context of the current worker thread
* @param sandbox_context - the context that we want to restore * @param sandbox_context - the context that we want to restore

Loading…
Cancel
Save