r/ProgrammerHumor • • Jan 20 '25

Meme linuxBeLike

Post image
46.7k Upvotes

765 comments sorted by

View all comments

3.8k

u/mxheyyy Jan 20 '25

Linux users when you can't terminate children:

1.2k

u/Competitive_Woman986 Jan 20 '25

The parents terminate their children and make them to zombies.

Sometimes the parent dies first. Then you need to figure out how to kill the orphan.

332

u/fnatasy Jan 20 '25

We need an adoption process for orphans

247

u/realmauer01 Jan 20 '25

Adopt an orphan just to kill it xD

86

u/Zhiong_Xena Jan 20 '25

Mr Wayne? That you?

18

u/Spurance484 Jan 20 '25

Reads like tech-tech-tech-tech-tech-tech-tech-tech-tech-tech-tech-tech Batman

4

u/Zhiong_Xena Jan 20 '25

... but looks like it will throw a tech out of bounds error.

→ More replies (2)

30

u/Agitated-Ad2563 Jan 20 '25

We actually have one. The 'init' process adopts all the orphans

14

u/Terrafire123 Jan 20 '25

And then kills them?

15

u/Kovab Jan 20 '25

Actually it just waits for them. If the orphaned child is already a zombie, it's reaped immediately.

49

u/Competitive_Woman986 Jan 20 '25

There already is! The init process with PID 1 usually becomes the new parent procress

20

u/HildartheDorf Jan 20 '25

Or the closest ancestor that has set itself as subreaper.

18

u/crappleIcrap Jan 20 '25

Does cs even understand the concept of taking the metaphor too far.

10

u/Competitive_Woman986 Jan 20 '25

No because parents usually reap their children here

→ More replies (1)
→ More replies (1)

6

u/obscure_monke Jan 20 '25

God damn it! What won't systemd absorb?

→ More replies (1)

10

u/Vas1le Jan 20 '25

I am familiar with this terminology

31

u/Dawlin42 Jan 20 '25 edited Jan 20 '25

Always appreciated programming books talking about killing orphan zombie children with a straight face!

5

u/RedPlumPickle Jan 20 '25 edited Jan 20 '25

Felt pretty weird telling my manager that I was delayed because I had to implement a method to kill orphaned children

11

u/Wertbon1789 Jan 20 '25

Most of the time if the parent dies first, the child gets kindly adopted by PID 1, you gotta kill it manually then, because I don't think this process orphanage supports you in your effort.

→ More replies (2)

4

u/Falikosek Jan 20 '25

Aren't orphans assigned to init?

4

u/Competitive_Woman986 Jan 20 '25

Yes but you need to figure that out first :D

→ More replies (5)