mirror of
https://github.com/python/cpython.git
synced 2026-05-20 03:14:26 -04:00
02de8979cc
This adds signal.set_wakeup_fd(fd) which sets a file descriptor to which a zero byte will be written whenever a C exception handler runs. I added a simple C API as well, PySignal_SetWakeupFd(fd).