Dag-Erling Smorgrav <des@flood.ping.uio.no> writes:
> This still doesn't explain select()'s failure to time out
Found it! If you change:
printf("no select() action");
to:
fprintf(stderr, "no select() action\n");
you'll see that select() does time out.
The moral of this story is to always use an unbuffered stream for
logging and debugging messages.
DES
--
Dag-Erling Smorgrav - des@flood.ping.uio.no
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message