M
M
MVE2015-06-03 11:05:56
Operating Systems
MVE, 2015-06-03 11:05:56

Why is the system not listening to the user?

Why don't stop/cancel/close buttons work immediately? For example, a heavy page is loaded in the browser, I already see the necessary content and press the "stop" button, but the browser continues to load and redraw the page for some more time. Another situation is when I add a large torrent to Transmission and want to restart the poppy, but it does not allow me to do this until it allocates space for the files. I press "force close", but he doesn't care. What is it in general, a global feature of modern OS? Why can't you just take and interrupt all operations at the request of the user? Any JS, writing files, whatever, as long as the user requires it immediately.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2015-06-03
@begemot_sun

The processing of any action in the program must be provided by the programmer.
Your user case (use case) is not typical.
Yes, you can handle all your possible cases of program execution interruption and reaction to user actions, but in order to implement this, an unimaginable amount of programmer's work is needed, from which they always implement only those features that directly affect the "sales" of software.

D
D', 2015-06-03
@Denormalization

For the most part, foolproofing works. Users are very fond of pressing the most hidden buttons and the most intricate keyboard shortcuts.
Therefore, many programs try to complete the current action to the end before interrupting the work.

A
Anton, 2015-06-03
@Gokudera

You have a friend who can only write one number at a time. You dictate the sequence to him, and then the shafts of spelled fly to you - you "forget" at what number you stopped. What number will you start dictating with?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question