Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pphaneuf
· 16y ago · 0 comments
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.
Comments
[–]
zedshaw
16y ago
Interesting, you're like the 3rd or 4th person who's mentioned hysteresis.
[–]
rbanffy
16y ago
It's a fairly common idea.
[–]
pphaneuf
OP
16y 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. :-)