[ Date Index ][
Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
On Tue, Jul 02, 2002 at 08:44:32PM +0000, Adrian Midgley wrote:
I've been looking at named pipes.
For pleasure or profit?
Is the sort of thing I might do with a named pipe on the network to have a program reading from it, and several programs intermittently opening it to write into, as a way of avoiding concurrent updates to a single log file?
The way to avoid concurrent updates to a log file of to lock the file before seeking to the end and writing. Other than that, have a process that logs to the file and takes socket connections, like syslogd.
Or is that much better done in other ways, in whcih case what is the point of them?
Last time I used named pipes was for a test of something. I've not used them in a "real" application ever. Steve -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.