https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6418

Kyle Wheeler <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kyle-spamassassin-bugzilla@
                   |                            |memoryhole.net

--- Comment #2 from Kyle Wheeler <[email protected]> 
2010-04-19 13:42:15 EDT ---
A configuration switch makes perfect sense to me.

As far as locking pipes goes... I don't know how exactly that's relevant to
this issue, but I would imagine that it *tends* to be safe because it's usually
done with buffered I/O---which makes parallel flushes less likely. According to
http://www.unixguide.net/unix/programming/2.10.5.shtml, if each piece of data
written to the pipe by multiple parallel processes is less than PIPE_BUF
(usually 512 bytes) in size, then they will not be interleaved. At least,
that's on *nix; it may make sense to use a lock on Windows. On Unix it seems
like it may be sufficient to avoid log lines bigger than 512 bytes (of course,
a lock is both simple and safe).

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to