[Python-Dev] Questions about signal handling. (original) (raw)
eryk sun eryksun at gmail.com
Mon Sep 24 14:34:33 EDT 2018
- Previous message (by thread): [Python-Dev] Questions about signal handling.
- Next message (by thread): [Python-Dev] Questions about signal handling.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Sep 21, 2018 at 6:10 PM, Victor Stinner <vstinner at redhat.com> wrote:
Moreover, you can get the signal while you don't hold the GIL :-)
Note that, in Windows, SIGINT and SIGBREAK are implemented in the C runtime and linked to the corresponding console control events in a console application, such as python.exe. Console control events are delivered on a new thread (i.e. no Python thread state) that starts at CtrlRoutine in kernelbase.dll. The session server (csrss.exe) creates this thread remotely upon request from the console host process (conhost.exe).
- Previous message (by thread): [Python-Dev] Questions about signal handling.
- Next message (by thread): [Python-Dev] Questions about signal handling.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]