From 093ad4a47b1494934208f395e8c5dd116e1ae5a6 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 25 Jan 2011 17:31:24 +0100 Subject: 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. --- runtime/nsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/nsd.h') 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! */ -- cgit