Finish implementation of context_switch