What is the difference between routine and process

I am studying memory management in the operating system, and in a general context, I just want to know if there is a difference between a procedure and a process .
thanks in advance

+4
source share
1 answer

Yes there is.

Typically, a procedure means a piece of code, such as a subroutine, coroutine or function, that is somehow called by other other code.

A process is code that actually executes. This means that one procedure can actually be part of the codes executed in two (or more) processes.

+2
source

Source: https://habr.com/ru/post/1664772/


All Articles