You even know that working too many hours, like multi-tasking, clobbers your productivity.
你甚至也明白长时间的工作,比如同时处理多项任务,会严重影响你的创造力。
Worse, Select() clobbers the caller’s arguments if it times out and no socket is ready: the caller needs to make a copy of the three lists on each iteration even if nothing happens!
更有甚者,如果没有socket就绪而发生超时,那么该方法就会销毁调用者传入的参数,所以就算是什么事情都没有发生,调用者还是必须要在每一个循环中对这三个列表进行备份!