A feature I did not expect is that can_read will return an empty list, the blocking abruptly stopped, when a signal is caught by a signal handler.
select returns on error, and that includes interruption by signal (EINTR).
In reply to Re^2: Non-blocking I/O woes
by ikegami
in thread Non-blocking I/O woes
by dwalin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |