[Libevent-users] [PATCH] evport fix to handle EAGAIN
Wouter Wijngaards
wouter at NLnetLabs.nl
Fri Feb 8 02:57:17 EST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Niels,
Tested with that change and that fixes it.
(I tested without http, rpc and dns tests).
To be sure, below is what I did.
Best regards,
~ Wouter
+ evport_dealloc,
+ 1 /* need reinit */
+ devpoll_dealloc,
+ 1 /* need reinit */
Niels Provos wrote:
| Any chance that you could try to append "1 /* need reinit */" at the
| end of struct evportops and devpollops; see kqueue.c for an example.
| Then run the tests again.
|
| Thank you,
| Niels.
|
| On Feb 7, 2008 12:15 AM, Wouter Wijngaards <wouter at nlnetlabs.nl> wrote:
| Hi Niels,
|
| Thanks for accepting the patch. It works for me :-)
|
| Tried make verify with fixed trunk on solaris 5.11 and it errors
|
| Event ports:
| After fork: ^C [ it hangs ]
|
| dev poll
| After fork: [warn] ioctl: DP_POLL: Permission denied
| FAILED (exit)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHrAtdkDLqNwOhpPgRAhIEAJ9hpJ8LBbvQn5X/v+szFAulzQ0w3wCgrD7o
zyPJEg7fkLrRznuoB7PANgA=
=OFkR
-----END PGP SIGNATURE-----
More information about the Libevent-users
mailing list