I've been playing around with the newest commits to 7.9, in particular a change made that should allow PollDeviceBackend and PollBackend to co-exist. Specifically, I'm trying to get things to compile on OSX, and while I think I've accomplished that goal, it doesn't appear that the resulting PollBackend works (at least all of the tests fail).
I seem to remember that being true on OSX, as poll isn't really fully functional. Can anyone confirm that? I don't see any point in committing my my fixes to get both working if the result is non-functional (in which case I'll commit a fix that disables poll on OSX).
Bill
poll on OS X uses kqueue internally so it feels rather pointless unless I'm missing something.
Indeed. It's also more limited (doesn't handle all possible I/O types). I was merely trying to a) fix the build for OSX and b) make the result comparable.
Unless there's a sense that the PollBackend needs to be an available option, I'll make it go away on OSX.
Bill
On Nov 7, 2013, at 6:25 PM, "Jonas Walldén @ Pike developers forum" 10353@lyskom.lysator.liu.se wrote:
poll on OS X uses kqueue internally so it feels rather pointless unless I'm missing something.
pike-devel@lists.lysator.liu.se