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 very lightweight kernel) which only implements a subset of the POSIX functions. One of the functions which is not implement is pipe. However, asio uses this in the epoll and select reactor. Is there any possibility to avoid 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 :) Niall -- Currently unemployed and looking for work in Ireland. Work Portfolio: http://careers.stackoverflow.com/nialldouglas/