On Tue, Sep 28, 2021 at 2:23 PM ste...@eissing.org <ste...@eissing.org> wrote: > > > > > Am 28.09.2021 um 14:10 schrieb ste...@eissing.org: > > > > > > > >> Am 28.09.2021 um 14:04 schrieb Yann Ylavic <ylavic....@gmail.com>: > >> > >> On Tue, Sep 28, 2021 at 1:08 PM ste...@eissing.org <ste...@eissing.org> > >> wrote: > >>> > >>> Does anyone know which platforms do *not* support WAKEABLE apr pollsets? > >> > >> Last time I checked (IIRC) all platforms support it on the APR side, > >> every platform handles pipes at least it seems. > >> Possibly it wasn't the case some (long) time ago, we are probably > >> overly cautious with APR_POLLSET_WAKEABLE availability check in > >> mpm_event.. > >> > >>> > >>> And if http2 should support this, would be adding an own wakeup pipe be > >>> the way to go? > >> > >> Looks overly cautious to me :) > > > > Uhm, due to an error report from Windows, I am reading the APR pollset > > implementation again. And Windows does not support polling on pipes? > > > > There is a special hack inside apr to realize a wakeup pipe, > > but otherwise it returns APR_EBADF. If I read it correctly... > > > > That would pose some major difficulties. > > Hmm, apr_file_pipe_create() under Windows makes me cry... > > This means I need another strategy under Windows. *sadge*
Yeah, it looks like you need socketpairs instead of pipes on Windows, à la create_socket_pipe() in APR.. I sympathize :/