5

I am studying memory management in operating system and in general context i just want to know is there any difference between routine and process.
Thanks in advance

1 Answers1

4

Yes, there is.

A routine usually means a piece of code such as a subroutine, coroutine or function that is called by other other code in some way.

A process is code that is actually in execution. This implies that one routine could actually be part of the codes being executed in two (or more) processes.

Bill Bell
  • 21,021
  • 5
  • 43
  • 58