You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LogFile has different implementations for Windows using Win32 API and STD for other platforms where Poco::FileOutputStream is used. Poco::FileOutputStream has Windows and Posix implementations.
LogFile calls FlushFileBuffers on Windows which forcefully flushes buffers to disk. Posix equivalent would be fsync.
New function fsync (or flushToDisk) shall be added to FileStream_POSIX and FileStream_WIN32.
Implementation of LogFile shall be unified to use FileOutputStream
LogFile
has different implementations for Windows using Win32 API and STD for other platforms wherePoco::FileOutputStream
is used.Poco::FileOutputStream
has Windows and Posix implementations.LogFile
callsFlushFileBuffers
on Windows which forcefully flushes buffers to disk. Posix equivalent would befsync
.fsync
(orflushToDisk
) shall be added toFileStream_POSIX
andFileStream_WIN32
.LogFile
shall be unified to useFileOutputStream
Related: #2443, #4429.
The text was updated successfully, but these errors were encountered: