Hi,

I search on the WWW for info about kqueue() and PTY: on Mac OS X, nor
kqueue() nor poll() support PTY or /dev/null, but select() does.

There are 3 options:

* just skip the test and document that you must explicitly use the
select selector on OSX to watch devices (is it possible to choose
explicitly the selector in asyncio?)
* switch from kqueue/poll to select when a device is added
* use a custom watcher to workaround the limitation, Saúl Ibarra
Corretgé wrote "libuv we fallback to using select() in a thread for
special fds on OSX"
https://github.com/joyent/libuv/blob/master/src/unix/stream.c#L290

What do you think?

Victor

Reply via email to