In order to modify processes, the PCB for the primary method should be created and saved. The PCBs ar typically keep upon a per-process stack in kernel memory (as against the user-mode decision stack), or there could also be some specific software outlined arrangement for this info.
Since the functioning scheme has competently suspended the execution of the first method, it can now load the PCB and context of the second process. In doing so, the program contradict from the PCB is loaded, and thus execution can extend in the new process.