Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by buckle8017

1 day ago

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.

1 comment

buckle8017

Reply

HackerThemAll  4 hours ago

This is a blatant application bug, not an epoll issue, unless you prove otherwise.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities