Re:Appending to a file from multiple processes
by caf on Wednesday August 03, 2016 @11:24PM
(#12223175)
You don't actually need to hold the lock while doing I/O - just while allocating yourself a region of the file that's yours to exclusively write to (eg. by opening without O_APPEND and instead using pwrite(2) to write at a specific offset).
[ Parent
| on HN ]
There are no comments on this comment yet.