从机器的角度考虑过程就是控制转移,数据传递,局部变量分配的过程。但是大多数机器只提供控制转移这种指令,后两种功能由栈实现。
从操作系统的角度考虑,过程就是两个进程切换,控制从进程1到进程2,以及上下文切换,这个过程完全由操作系统完成。