|
Boost Users : |
Subject: Re: [Boost-users] Interprocess support for Pipe
From: Boris Schäling (boris_at_[hidden])
Date: 2015-06-12 06:43:34
On Fri, 12 Jun 2015 11:25:13 +0200, Lloyd <lloydkl.tech_at_[hidden]> wrote:
> Hi,
>
> Does boost interprocess support "pipe" like operations. That is if
> process
> A writes something and when process B reads it, the memory content should
> be reset.
>
> If I use shared memory, it complicates things.
There is a create_pipe() function in what's usually called Boost.Process
(not an official Boost library - work in progress for roughly 10 years ;)
- see
<http://www.highscore.de/boost/process0.5/boost/process/create_pipe_id341354.html>.
However you can't use the pipe for asynchronous I/O on Windows. Someone
else worked on a named pipe for Boost two years ago (see
<http://thread.gmane.org/gmane.comp.lib.boost.devel/243397>). But I
haven't heard anything about it lately.
Boris
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net