diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-01-25 17:31:24 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-01-25 17:31:24 +0100 |
commit | 093ad4a47b1494934208f395e8c5dd116e1ae5a6 (patch) | |
tree | 6e1c92a21c7eab5db39d059e6ffd65aeac171118 /runtime/nsd.h | |
parent | f0a4fe3597a4e1993ce7ca0533c6f2b3767c0400 (diff) | |
download | rsyslog-093ad4a47b1494934208f395e8c5dd116e1ae5a6.tar.gz rsyslog-093ad4a47b1494934208f395e8c5dd116e1ae5a6.tar.xz rsyslog-093ad4a47b1494934208f395e8c5dd116e1ae5a6.zip |
improved tcpsrv performance by enabling multiple-entry epoll
so far, we always pulled a single event from the epoll interface.
Now 128, what should result in performance improvement (less API
calls) on busy systems. Most importantly affects imtcp.
Diffstat (limited to 'runtime/nsd.h')
-rw-r--r-- | runtime/nsd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/nsd.h b/runtime/nsd.h index e5b9320b..1d44a14c 100644 --- a/runtime/nsd.h +++ b/runtime/nsd.h @@ -92,7 +92,7 @@ BEGINinterface(nsdpoll) /* name must also be changed in ENDinterface macro! */ rsRetVal (*Construct)(nsdpoll_t **ppThis); rsRetVal (*Destruct)(nsdpoll_t **ppThis); rsRetVal (*Ctl)(nsdpoll_t *pNsdpoll, nsd_t *pNsd, int id, void *pUsr, int mode, int op); - rsRetVal (*Wait)(nsdpoll_t *pNsdpoll, int timeout, int *idRdy, void **ppUsr); + rsRetVal (*Wait)(nsdpoll_t *pNsdpoll, int timeout, int *numReady, int idRdy[], void *ppUsr[]); ENDinterface(nsdpoll) #define nsdpollCURR_IF_VERSION 1 /* increment whenever you change the interface structure! */ |