Create ctx_switch.c