summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-13 13:45:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-13 13:45:52 +0000
commit4590182c2c88f0b9e5eb70b45e882d9381fe33b6 (patch)
tree2af566c30043265321981ae5503f496e166c3aa6 /src/common/socket.h
parent0b8f17ed7b86eacaad99985c9261fb8735bf2cb6 (diff)
downloadhercules-4590182c2c88f0b9e5eb70b45e882d9381fe33b6.tar.gz
hercules-4590182c2c88f0b9e5eb70b45e882d9381fe33b6.tar.bz2
hercules-4590182c2c88f0b9e5eb70b45e882d9381fe33b6.tar.xz
hercules-4590182c2c88f0b9e5eb70b45e882d9381fe33b6.zip
- Modified flush_fifo so you can decide whether to block the current thread or not until the data is sent. The server-tick reply no longer blocks the current thread.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9486 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.h b/src/common/socket.h
index 9552575f3..b1565b488 100644
--- a/src/common/socket.h
+++ b/src/common/socket.h
@@ -158,7 +158,7 @@ void do_close(int fd);
void socket_init(void);
void socket_final(void);
-extern void flush_fifo(int fd);
+extern void flush_fifo(int fd, int lock);
extern void flush_fifos(void);
extern void set_nonblocking(int fd, int yes);