summaryrefslogtreecommitdiffstats
path: root/runtime/nspoll.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-01-26 15:37:07 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-01-26 15:37:07 +0100
commit3049f535fff9d351480bceb7ea82667176a7c8a2 (patch)
treed633ee9f9801ad882e66504a18e07fac7c3d38f8 /runtime/nspoll.c
parent0e4373a6329a1f74dda8eceed5fd18ce92fe0d10 (diff)
downloadrsyslog-3049f535fff9d351480bceb7ea82667176a7c8a2.tar.gz
rsyslog-3049f535fff9d351480bceb7ea82667176a7c8a2.tar.xz
rsyslog-3049f535fff9d351480bceb7ea82667176a7c8a2.zip
interim commit: refactored epoll processing
this is a perquisite for multi-threading the input handler
Diffstat (limited to 'runtime/nspoll.c')
-rw-r--r--runtime/nspoll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/nspoll.c b/runtime/nspoll.c
index c36375fd..a936b255 100644
--- a/runtime/nspoll.c
+++ b/runtime/nspoll.c
@@ -129,11 +129,11 @@ finalize_it:
/* Carries out the actual wait (all done in lower layers)
*/
static rsRetVal
-Wait(nspoll_t *pThis, int timeout, int *numEntries, int idRdy[], void *ppUsr[]) {
+Wait(nspoll_t *pThis, int timeout, int *numEntries, nsd_epworkset_t workset[]) {
DEFiRet;
ISOBJ_TYPE_assert(pThis, nspoll);
- assert(idRdy != NULL);
- iRet = pThis->Drvr.Wait(pThis->pDrvrData, timeout, numEntries, idRdy, ppUsr);
+ assert(workset != NULL);
+ iRet = pThis->Drvr.Wait(pThis->pDrvrData, timeout, numEntries, workset);
RETiRet;
}