c version context switch.