Avoid select() in matcher for __WIN32__
commit832bbc0afb18a4e8e5ddf24a117e1db7a2fa5043
authorOlly Betts <olly@survex.com>
Fri, 4 Jan 2019 23:34:47 +0000 (5 12:34 +1300)
committerOlly Betts <olly@survex.com>
Fri, 4 Jan 2019 23:34:47 +0000 (5 12:34 +1300)
treec5b9f1496f07ac934b6719a162ab3135e2f29c7f
parentbaaee5674eb2bf7ba13b1a47d7fa698022737fd7
Avoid select() in matcher for __WIN32__

Under __WIN32__ select() only works on sockets, and the fds for remote
prog databases aren't sockets under __WIN32__.

This means we will block on each remote database in turn rather than
waiting on them in parallel, but it's better than the code failing
when used with multiple remote prog databases.
xapian-core/matcher/matcher.cc