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
Asked
Active
Viewed 1,056 times
5

anubhav deshwal
- 136
- 8
1 Answers
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