Comment by dataflow Comment by dataflow a day ago 2 replies Copy Link View on Hacker News What's the footgun with edge triggering?
Copy Link buckle8017 a day ago Collapse Comment - The edge in epoll edge triggering is going from has data to doesn't have data.So the obvious loop using level triggering switched to edge will eventually lock up.You'll read 4092bbytesbwhen there is 4093 bytes leaving 1 behind and then never get a signal again. Reply View | 1 reply Copy Link HackerThemAll 6 hours ago Parent Collapse Comment - This is a blatant application bug, not an epoll issue, unless you prove otherwise. Reply View | 0 replies
Copy Link HackerThemAll 6 hours ago Parent Collapse Comment - This is a blatant application bug, not an epoll issue, unless you prove otherwise. Reply View | 0 replies
The edge in epoll edge triggering is going from has data to doesn't have data.
So the obvious loop using level triggering switched to edge will eventually lock up.
You'll read 4092bbytesbwhen there is 4093 bytes leaving 1 behind and then never get a signal again.