[Cuis-dev] [Integrated] Re: #forceChangesToDisk

Andres Valloud ten at smallinteger.com
Mon Sep 16 18:41:11 PDT 2019


On 9/16/19 17:45, Phil B wrote:
> It's the flushing of the buffer (which is still there) that is the 
> important bit.  That signals to the OS 'OK, make sure this data 
> written'.

Exactly :).

> The rest of the code was a hack to basically try to force the 
> OS to do the write immediately.  This used to work[2], but per the 
> conversation on squeak-dev, no longer does.  My position is that even if 
> it still does work in some cases, it's a hack that was based on a set of 
> assumptions that are no longer valid today.

Yeah, what's the deal with asking the OS to flush the file and then not 
trusting it did its job?

Andres.


More information about the Cuis-dev mailing list