[
https://issues.apache.org/jira/browse/MESOS-5815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398889#comment-16398889
]
Eric Mumau commented on MESOS-5815:
-----------------------------------
* The tests all use the pipe function from <unistd.h> to create a pair of
pipes. This is not portable to Windows.
* <stout/posix/os.hpp> includes <stout/os/write.hpp> but
<stout/windows/os.hpp> *does not* include <stout/os/write.hpp>. I suggest
either:
** <stout/os.hpp> *adds* include <stout/write.hpp> and <stout/posix/os.hpp>
*removes* <stout/write.hpp>
** <stout/posix/os.hpp> *change* include to <stout/os/posix/write.hpp> and
<stout/windows/os.hpp> include <stout/os/windows/write.hpp>
* The function pipe in <stout/os/posix/pipe.hpp> uses type int instead of the
int_fd abstraction.
* The function pipe in <stout/os/windows/pipe.hpp> uses type WindowsFD instead
of the int_fd abstraction.
* Support for Windows named pipes is not implemented in libevent_poll. The
design of libevent_poll is incongruous with Windows named pipes.
> Port libprocess io_tests.cpp
> ----------------------------
>
> Key: MESOS-5815
> URL: https://issues.apache.org/jira/browse/MESOS-5815
> Project: Mesos
> Issue Type: Task
> Reporter: Andrew Schwartzmeyer
> Assignee: Eric Mumau
> Priority: Major
> Labels: libprocess, mesosphere, windows
>
> Many of the tests create a pair of pipes with the Linux pipe utility.
> Windows does not provide pipe or a binary equivalent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)