Alexander Lazic wrote:
On Son 25.06.2006 00:31, William Ahern wrote:
On Sat, Jun 24, 2006 at 10:19:40AM +0200, Alexander Lazic wrote:
have anybody look into the new event ports framework of solaris 10?
http://docs.sun.com/app/docs/doc/816-5168/6mbb3hrir?q=port_create&a=view
Wow. Yet another opportunity missed to pickup the kqueue framework.
I actually agree, I would of preferred them just adding native KQueue
support, but they would argue that the Event Ports can do more than
KQueue, and that is of course, the truth.
Here you can find explanation why they have decide to go this way, as i
understand this site right ;-)
http://developers.sun.com/solaris/articles/event_completion.html
The apr-lib have implement it as i have seen but not the /dev/poll i
don't know why because the /dev/poll was long time before then the event
ports framework?!
I wrote support for the Solaris Event Ports in APR.... Its okay, but not
great. Two important points:
1) On un-patched Solaris 10, it will cause your kernel to panic. Get
Patched.
2) If a socket-event is fired in it, you must re-add the socket with the
events to get a behavior like KQueue/EPoll. This sucks for APR, since
our API is designed around keeping things in the pollsets, even after
their event has fired once.
-Paul
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users