Interpreter.kill

Interpreter.kill(signal: int)

Sends a signal the interpreter’s main thread and to its pseudo subprocesses threads.

PytoRuntime’s patched CPython supports thread local signal handling.

Parameters:

signal – The signal to send.