6 Jan
2003
6 Jan
'03
12:13 p.m.
Borzenkov Andrey wrote:
On the other hand, in theory, more than one process can write nonblocking to the same pipe. So its better to use atomic writes with buffers <= PIPE_BUF, to avoid, that the processes interleaves.
It does not actually help in current implementation because pipe writes in syslog-ng do not preserve message boundaries. [...]
Yepp. That's the problem. -- Best regards --Andreas Schulze [phone: +49.5246.80.1275, fax: +49.5246.80.2275] | I believe, it was Dennis Ritchie who said something like: | "C is rarely the best language for a given task, | but it's often the second-best". | The implication being that: "[...]" | http://www.ioccc.org/1990/dds.c