tis 2006-05-30 klockan 13:20 +0800 skrev Adrian Chadd: > Poll should be better - it'll be much better if/when the comm backon/backoff > stuff is turned on by default and can be used to add/subtract pollfd > entries. I'm sure a little coding can go a long way in improving poll > and select.
I didn't say poll() is worse than select(). I said comm_poll is worse than comm_select, and have a strong suspicion the current code comm_poll code performs considerably worse than comm_select.. and if that is the case I propose ripping it out or at least changing priorities to prefer select until there is time for a better implementation. From a coding perspective I see very little of comm_poll.c which is meaningful to reuse. Better to copy comm_select and translate it to poll.. or maybe add a libevent loop.. (should be fairly trivial copy of epoll now..) Regards Henrik
signature.asc
Description: Detta är en digitalt signerad meddelandedel
