If I use O_SYNC and O_APPEND on the sysopen with flock my problems seem to go away... but I need both, along with O_CREAT and O_WRONLY... seems very wrong, but so far my tests look good.
In reply to Solution, it seems.
by suaveant
in thread What the flock!? Concurrency issues in file writing.
by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |