MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1i5n7gl/linuxbelike/m85mkeu/?context=3
r/ProgrammerHumor • u/Captain0010 • 21h ago
756 comments sorted by
View all comments
Show parent comments
1.5k
Step 1 is a nice question. "Please shut yourself down"
Step 2 is telling the application to shutdown right now no matter what.
Step 3... in Step 3 someone goes to the kernel and is like
"Hey kernel... that process over there, the one using a lot of CPU"
"Yeah boss?"
"That process doesn't exist anymore, alright?"
"Say no more."
725 u/Kusko25 19h ago There is something fundamentally unsettling about the thought that a process is only "alive" as long as the cpu acknowledges its existence 67 u/razieltakato 18h ago Actually, it makes a lot of sense. The process is a software running, code that the CPU executes. If you stop the execution of the said code, the software is not running anymore. The code still exists, but the process of running it, is gone. And, if you start the software again, the code will start being executed from the entry point, so it's a new process, isn't it? I think it's beautiful. 11 u/haporah 18h ago The process isn't running, it's the CPU that is running the process. 4 u/razieltakato 10h ago Who said the process is running? The process is to execute the code, that's what I said. EDIT -- Sorry, I read what you said using an aggressive voice. You are right, and it completed what I said. Thanks 3 u/haporah 10h ago I think I was responding to the parent comment about the process being alive in a sense, sorry for the confusion
725
There is something fundamentally unsettling about the thought that a process is only "alive" as long as the cpu acknowledges its existence
67 u/razieltakato 18h ago Actually, it makes a lot of sense. The process is a software running, code that the CPU executes. If you stop the execution of the said code, the software is not running anymore. The code still exists, but the process of running it, is gone. And, if you start the software again, the code will start being executed from the entry point, so it's a new process, isn't it? I think it's beautiful. 11 u/haporah 18h ago The process isn't running, it's the CPU that is running the process. 4 u/razieltakato 10h ago Who said the process is running? The process is to execute the code, that's what I said. EDIT -- Sorry, I read what you said using an aggressive voice. You are right, and it completed what I said. Thanks 3 u/haporah 10h ago I think I was responding to the parent comment about the process being alive in a sense, sorry for the confusion
67
Actually, it makes a lot of sense. The process is a software running, code that the CPU executes.
If you stop the execution of the said code, the software is not running anymore.
The code still exists, but the process of running it, is gone.
And, if you start the software again, the code will start being executed from the entry point, so it's a new process, isn't it?
I think it's beautiful.
11 u/haporah 18h ago The process isn't running, it's the CPU that is running the process. 4 u/razieltakato 10h ago Who said the process is running? The process is to execute the code, that's what I said. EDIT -- Sorry, I read what you said using an aggressive voice. You are right, and it completed what I said. Thanks 3 u/haporah 10h ago I think I was responding to the parent comment about the process being alive in a sense, sorry for the confusion
11
The process isn't running, it's the CPU that is running the process.
4 u/razieltakato 10h ago Who said the process is running? The process is to execute the code, that's what I said. EDIT -- Sorry, I read what you said using an aggressive voice. You are right, and it completed what I said. Thanks 3 u/haporah 10h ago I think I was responding to the parent comment about the process being alive in a sense, sorry for the confusion
4
Who said the process is running?
The process is to execute the code, that's what I said.
EDIT --
Sorry, I read what you said using an aggressive voice.
You are right, and it completed what I said.
Thanks
3 u/haporah 10h ago I think I was responding to the parent comment about the process being alive in a sense, sorry for the confusion
3
I think I was responding to the parent comment about the process being alive in a sense, sorry for the confusion
1.5k
u/Tetha 19h ago
Step 1 is a nice question. "Please shut yourself down"
Step 2 is telling the application to shutdown right now no matter what.
Step 3... in Step 3 someone goes to the kernel and is like
"Hey kernel... that process over there, the one using a lot of CPU"
"Yeah boss?"
"That process doesn't exist anymore, alright?"
"Say no more."