Subject: Re: [boost] Boost.asio avoid the use of pipe
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2014-04-03 18:11:13
On 3. April 2014 11:54:48 MESZ, Niall Douglas <s_sourceforge_at_[hidden]> wrote:
>On 2 Apr 2014 at 19:20, Thomas Heller wrote:
>> I'm currently trying to get a asio based software to run on CNK (a
>> lightweight kernel) which only implements a subset of the POSIX
>> One of the functions which is not implement is pipe. However, asio
>> this in the epoll and select reactor. Is there any possibility to
>> that pipe is used?
>> What options do I have?
>Yeah, I've faced that problem too before.
>To be honest, the easiest path overall is to write your own pipe
>implementation using whatever the native OS provides. One solution I
>have used in the past is a socket running over loopback, it works and
>probably isn't that much slower than a proper pipe implementation :)
Sounds like a plan... Do you have example code lying around?
-- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.