Some general tidyup plus addition of code to block zombie processing

if epoll_wait returned multiple descriptors
This commit is contained in:
Mark Riddoch
2014-09-19 10:50:54 +01:00
parent a5975d8cff
commit 2402d55de6
4 changed files with 112 additions and 69 deletions

View File

@ -271,8 +271,8 @@ int fail_accept_errno;
#define DCB_BELOW_LOW_WATER(x) ((x)->low_water && (x)->writeqlen < (x)->low_water)
#define DCB_ABOVE_HIGH_WATER(x) ((x)->high_water && (x)->writeqlen > (x)->high_water)
void dcb_pollin(DCB *, int);
void dcb_pollout(DCB *, int);
void dcb_pollin(DCB *, int, int);
void dcb_pollout(DCB *, int, int);
DCB *dcb_get_zombies(void);
int gw_write(
#if defined(SS_DEBUG)