summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-09 04:24:33 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-09 04:24:33 +0000
commitfc180dbbae33e8e629ef7c99ca27c3bce1b62db4 (patch)
tree620844383b4708a0973863dc5dbdbd9add6fde21 /src/common/socket.h
parent290fb53feea76f9749e4630ec71552e41afa59de (diff)
downloadhercules-fc180dbbae33e8e629ef7c99ca27c3bce1b62db4.tar.gz
hercules-fc180dbbae33e8e629ef7c99ca27c3bce1b62db4.tar.bz2
hercules-fc180dbbae33e8e629ef7c99ca27c3bce1b62db4.tar.xz
hercules-fc180dbbae33e8e629ef7c99ca27c3bce1b62db4.zip
* 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
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h5
1 files changed, 3 insertions, 2 deletions
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 {