logoalt Hacker News

underdeservertoday at 1:00 PM1 replyview on HN

Nearly impossible in some contexts, where the trade-off makes sense.

There are many scenarios, especially in embedded systems, where it can happen and you want to handle it robustly, e.g. by evicting a cache or flushing a buffer to disk.


Replies

Panzerschrektoday at 1:59 PM

In embedded systems you have enough control. But as soon as an OS is involved, you have much less control. Basically an OS may do with your process whatever it wants, but it happens to be polite most of the time.