Lisp HUG Maillist Archive

WG: finish-output required?

> -----Ursprüngliche Nachricht-----
> Von: owner-lisp-hug@lispworks.com
> [mailto:owner-lisp-hug@lispworks.com] Im Auftrag von Mitch Berkson
> Gesendet: Donnerstag, 2. November 2006 02:43
> An: lisp-hug@lispworks.com
> Betreff: finish-output required?
> 
> 
> I have been writing alternately to two output streams. If I don't 
> include finish-output after writing to each of them, nothing is 
> written to one of the files. Is this the expected behavior?  This is 
> with Windows XP.  Thank you.
> 
> Mitch
> 

Hi Mitch,

yes, this is normal for buffered streams. Of course everything is written
when you close the file or call

finish-output or force-output. Unless you call finish-output (et al) output
is buffered with performance in mind.


Andreas



Updated at: 2020-12-10 08:47 UTC