[Linux-decnet-commit] CVS: latd server.cc,1.77,1.78
Brought to you by:
chrissie_c,
ph3-der-loewe
From: Patrick C. <pa...@us...> - 2004-01-18 13:55:52
|
Update of /cvsroot/linux-decnet/latd In directory sc8-pr-cvs1:/tmp/cvs-serv28877 Modified Files: server.cc Log Message: Run the delete check after circuit timer ticks too. Index: server.cc =================================================================== RCS file: /cvsroot/linux-decnet/latd/server.cc,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -r1.77 -r1.78 *** server.cc 6 Jan 2004 09:29:02 -0000 1.77 --- server.cc 18 Jan 2004 13:55:49 -0000 1.78 *************** *** 598,612 **** next_circuit_time.tv_sec = 0; #endif - continue; } ! ! // Unix will never scale while this is necessary ! std::list<fdinfo>::iterator fdl(fdlist.begin()); ! for (; fdl != fdlist.end(); fdl++) { ! if (fdl->active() && ! FD_ISSET(fdl->get_fd(), &fds)) { ! process_data(*fdl); } } --- 598,613 ---- next_circuit_time.tv_sec = 0; #endif } ! else { ! // Unix will never scale while this is necessary ! std::list<fdinfo>::iterator fdl(fdlist.begin()); ! for (; fdl != fdlist.end(); fdl++) { ! if (fdl->active() && ! FD_ISSET(fdl->get_fd(), &fds)) ! { ! process_data(*fdl); ! } } } |