Y
Hacker News
new
|
ask
|
show
|
jobs
by
pphaneuf
5797 days ago
Adding/removing from the poll() array is more or less free, but with epoll, you have to use epoll_ctl(), so you'd definitely want an hysteresis to avoid bouncing things around too much.
1 comments
zedshaw
5797 days ago
Interesting, you're like the 3rd or 4th person who's mentioned hysteresis.
link
rbanffy
5796 days ago
It's a fairly common idea.
link
pphaneuf
5796 days ago
As in "only the 3rd or 4th" (so I'm possibly clever), or as in "a bunch of people"? I don't know your sample size. :-)
link