Closed
Description
These flags (Unix/Windows) provide atomic append to shared writeable files. Using these flags via .NET's FileSystemRights.AppendData
, File()
(and thus RollingFile()
) should be able to support the sharing of log files by multiple processes without too many caveats.
A brief description of the API can be seen here.
Since this will most likely require us to pre-render each event into a single buffer to write atomically, we should get rid of the (allocation-lean but contention-heavy) IO-under-lock at the same time.
@DmitryNaumov thanks for bringing this up the other day - what do you think of this proposal?