Skip to content

Signal Handling in Oil

andychu edited this page Jun 14, 2019 · 14 revisions

Handling signals in Python exposes you to EINTR.

See PEP 475 -- Retry system calls failing with EINTR. We're backporting this work. That's the main purpose of the native/posixmodule.c fork (in addition to removing over 7,000 lines of unused code).

Signals Oil cares about:

  • SIGWINCH -- to get notified about Window size changes
  • ... TODO

Relevant Files

  • demo/eintr.sh in the repository

Related Pages

Clone this wiki locally
You can’t perform that action at this time.