On normal conditions, never. My reasoning was way off... streams are finalized (and flushed) even on abnormal exit.
On 20-03-2012 05:09, Martin Nyhus wrote: > On Tuesday 20. March 2012 00:34:11 Marco Schulze wrote: >> How often does what happen? > Crashes that cause the log buffer to be lost before it is written to disk and > whatever else you had in mind when you wrote this: > > On Monday 19. March 2012 22:56:42 Marco Schulze wrote: >> Synchronization is the reason every thread should wait. If the log is >> always flushed and fred crashes, you know exactly where the last good >> checkpoint was before the crash. If the log is buffered (or >> asynchronous), the thread may be miles ahead from the last message >> written to disk, and suddenly you have no idea where to look for the >> bug. Shotgun debugging indeed. > _______________________________________________ > Devl mailing list > Devl at freenetproject.org > https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl