this post was submitted on 18 Jan 2024
976 points (97.7% liked)

Comic Strips

20568 readers
2741 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Sheeple@lemmy.world 30 points 2 years ago (8 children)

I don't even get why force shutting a program isn't the fucking default.

[–] dandroid@dandroid.app 43 points 2 years ago (6 children)

It can be really dangerous for some programs. I don't know too much about Windows, but in Linux, if we try to close a program once, it sends SIGTERM (or SIGINT, I can't remember right now), which basically asks your program to stop. You program can receive that signal and finish things up and exit cleanly. But if your program is deadlocked and can't handle that right now, closing the program again sends it a SIGKILL, which is basically the OS saying, "Get fucked. You're done whether you like it or not."

[–] oce@jlai.lu 8 points 2 years ago (1 children)

It's not dangerous for programs, it's dangerous for files it may be editing, like not writing some ending characters that leaves the file in a state that cannot be opened by some applications.

[–] dandroid@dandroid.app 5 points 2 years ago

I didn't mean the programs were in danger. When this is done to some programs, it can cause bad things to happen to your computer.

load more comments (4 replies)
load more comments (5 replies)