Skip to content
#

io

Here are 590 public repositories matching this topic...

bnoordhuis
bnoordhuis commented Sep 28, 2020

See: https://illumos.org/man/5/epoll

Idea: move logic from src/unix/linux-core.c to src/unix/epoll.c and share that between Linux and Illumos.

Motivation:

  • removes 250-300 lines of code from src/unix/sunos.c
  • switches to much more battle-hardened code
  • makes libuv more efficient because it no longer has to accommodate this event ports quirk:
diff --git a/src/unix/core.c b/s
njsmith
njsmith commented May 18, 2020

What should happen if deliver_cancel raises an exception? In the current implementation, the shielded cancel scope will prevent it from propagating until the process exits, which might take a while if the crash occurred before signaling the process in any way. Maybe on exception from a user-specified deliver_cancel we should call the default deliver_cancel to kill the process? Or just kill() since

Improve this page

Add a description, image, and links to the io topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the io topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.