From fc180dbbae33e8e629ef7c99ca27c3bce1b62db4 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Wed, 9 May 2007 04:24:33 +0000 Subject: * Adapted the shortlist to use a static array instead of a linked list and enabled it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10507 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/socket.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common/socket.h') diff --git a/src/common/socket.h b/src/common/socket.h index a040772a9..a7734963a 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -143,10 +143,11 @@ extern int naddr_; // # of ip addresses void set_eof(int fd); /// Use a shortlist of sockets instead of iterating all sessions for sockets -/// that have data to send or need eof processing. +/// that have data to send or need eof handling. +/// Adapted to use a static array instead of a linked list. /// /// @author Buuyo-tama -//#define SEND_SHORTLIST +#define SEND_SHORTLIST #ifdef SEND_SHORTLIST struct send_shortlist_node { -- cgit v1.2.3-60-g2f50