summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/XserverDesktop.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-10-25 15:13:13 +0000
committerPierre Ossman <ossman@cendio.se>2011-10-25 15:13:13 +0000
commit4ce51ffc4ec5fb060855dbe17579cbb3d9228e61 (patch)
tree77a584a327ef2e1ad6d50882943e5605bde10e81 /unix/xserver/hw/vnc/XserverDesktop.h
parent7d4e88868a1304caafdc6bef84d0e94785f2ddb5 (diff)
downloadtigervnc-4ce51ffc4ec5fb060855dbe17579cbb3d9228e61.tar.gz
tigervnc-4ce51ffc4ec5fb060855dbe17579cbb3d9228e61.zip
Make socket writes non-blockable. This allows the system to more quickly
return back to the Xorg main loop, meaning that things will be more responsive in the presence of slow VNC clients. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4735 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw/vnc/XserverDesktop.h')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h
index 1c037053..af365117 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.h
+++ b/unix/xserver/hw/vnc/XserverDesktop.h
@@ -72,6 +72,8 @@ public:
void ignoreHooks(bool b) { ignoreHooks_ = b; }
void blockHandler(fd_set* fds);
void wakeupHandler(fd_set* fds, int nfds);
+ void writeBlockHandler(fd_set* fds);
+ void writeWakeupHandler(fd_set* fds, int nfds);
void addClient(network::Socket* sock, bool reverse);
void disconnectClients();