[haiku-development] Re: Has the shutdown process changed recently?

  • From: "Máximo Castañeda" <dmarc-noreply@xxxxxxxxxxxxx> ("antiswen")
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Thu, 3 Nov 2022 16:29:56 +0000 (UTC)

 En miércoles, 2 de noviembre de 2022, 10:23:55 CET, Humdinger 
<dmarc-noreply@xxxxxxxxxxxxx> escribió: 

[Off-topic: I could save the history with every new clip, but the constant 
writing to disk didn't feel right...
Would you guys consider it OK? It would have an upside, too, as in case of 
crashes...]


I'd say state worth keeping between different runs of an app is also worth 
keeping in the case of crashes. But I'm also against too much IO, and that's 
independent of whether the backgroud apps are killed too fast.

The proposed change [0] works for me in my very light testing, but please 
notice there's a time limit shared with the hundreds of millions of background 
apps there may be running, so a lots of IO, locks and other stuff are still a 
bad idea if you want to get to the end.

And I don't have experience in the area, so there may be a reason those were 
not waited for and the change is rejected.

[0] https://review.haiku-os.org/c/haiku/+/5800

Other related posts: