On Sep 7, 2006, at 11:53 AM, Scott Lamb wrote:
By the way, what's the rationale for the separate event_[rw]_back structures and for the idxplus1_by_fd? It seems like the former could be combined into a single event_back and the latter replaced with a new member of struct event for arbitrary use by the event_op. I ask because I'm porting libevent to a platform that needs a proprietary extra POLLxxx event type, and it seems preferable to remove two of four dynamically-allocated parallel arrays instead of adding a fifth.

I should add: this would mean a slight behavior change that if there are then two separate struct events for the same file descriptor, poll.c would pass them both to poll(). I don't think that's a problem, is it?

--
Scott Lamb <http://www.slamb.org/>


_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to