CVS Commit: network
Brieuc Jeunhomme
bbp at via.ecp.fr
Sun Oct 28 13:29:22 CET 2001
> * If no one alls the telnet interface : the condition while(!module->uDie)
> will never be reached
> * then the only way to kill the telnet module is to press ctrl+C
Right. But a select() can also be interrupted when certain signals (say
SIGPIPE) are sent to the process. I know many use timeouts for this
purpose, but it's a kludge. First because when someone wants to stop a
server they want to stop it _now_, not in one second. Second because
threads are often awaken for nothing.
--
BBP
More information about the vlcs-devel
mailing list