General Question

linuxgnuru's avatar

What do programs do when they are Stopped in Unix / Linux?

Asked by linuxgnuru (207points) June 14th, 2010
1 response
“Great Question” (0points)

I’ve been using Linux since 1995 and I have a little knowledge about processes and the lot; My question is, if you suspend (^Z) a process, I know it is given the STOP message but then what; does it just wait indefinitely until you do something else or does it all depend on the internal coding of the particular program i.e. does the program have to handle the STOP for memory management, etc?

Observing members: 0
Composing members: 0

Answers

DrBill's avatar

It waits in memory, internal coding has no effect as the ^Z is a system command and pauses the program where it is. There is no memory management as the program and all variables stay in memory.

Answer this question

Login

or

Join

to answer.

Mobile | Desktop


Send Feedback   

`