You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2019/01/09 17:36:00 UTC

[jira] [Commented] (ARROW-4187) [C++] file-benchmark uses

    [ https://issues.apache.org/jira/browse/ARROW-4187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738465#comment-16738465 ] 

Antoine Pitrou commented on ARROW-4187:
---------------------------------------

You'd probably want a different BackgroundReader implementation on Windows. For example, instead of a self-pipe you would create an [Event|https://docs.microsoft.com/fr-fr/windows/desktop/Sync/synchronization-functions#event-functions], and instead of using poll() you would [WaitForMultipleObjects|https://docs.microsoft.com/en-us/windows/desktop/api/synchapi/nf-synchapi-waitformultipleobjects] on both the event and the file descriptor's underlying handle (obtained using [_get_osfhandle|https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/get-osfhandle]).

> [C++] file-benchmark uses <poll.h>
> ----------------------------------
>
>                 Key: ARROW-4187
>                 URL: https://issues.apache.org/jira/browse/ARROW-4187
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Benjamin Kietzman
>            Priority: Minor
>
> arrow/io/file-benchmark.cc includes poll.h, which causes the build to fail on Windows



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)