diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-09 04:24:33 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-09 04:24:33 +0000 |
commit | fc180dbbae33e8e629ef7c99ca27c3bce1b62db4 (patch) | |
tree | 620844383b4708a0973863dc5dbdbd9add6fde21 /src/common/socket.h | |
parent | 290fb53feea76f9749e4630ec71552e41afa59de (diff) | |
download | hercules-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.h | 5 |
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 { |