Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Fri, 15 Dec 2000 15:30:00 +0000 (15:30 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Fri, 15 Dec 2000 15:30:00 +0000 (15:30 +0000)
commitb6f940332af04280d29aa4cee8b60583c74661b2
tree477e6d0a7a1cc6b7e607f0e70cb6d4dd7cdea9f0
parenteeafbafcedbd5e3f670e8b1010591dc49bf2bc84
Author: Kev <klmitch@mit.edu>
Log message:

Create a linked list of connections that have queued data.  This allows
flush_connections to scan only the connections that have queued data,
rather than going through every single connection on the server.  This
will improve efficiency, but I doubt it'll have a significant impact on
CPU usage.

Testing:

Compiles and runs with no apparent errors.  It needs to be brute-forced
to make sure there are no assertion failures.

Notes:

If you ever call MsgQClear(), you MUST call client_drop_sendq() as well!
(Perhaps this should be changed to have client_drop_sendq() call
MsgQClear() itself?)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@339 c9e4aea6-c8fd-4c43-8297-357d70d61c8c
ChangeLog
include/client.h
include/send.h
ircd/client.c
ircd/dbuf.c
ircd/list.c
ircd/s_bsd.c
ircd/send.c