Dag-Erling Smorgrav <firstname.lastname@example.org> writes:
> This still doesn't explain select()'s failure to time out
Found it! If you change:
printf("no select() action");
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.
Dag-Erling Smorgrav - email@example.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message