kill(_:)

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

Declaration

func kill(
    _ signal: Int32
)

Parameters

  • signal: The signal to send.

Discussion

PytoRuntime’s patched CPython supports thread local signal handling.