Skip to content
UPEEC

Processes, Threads and Signals

Create processes (`subprocess`, `multiprocessing`), run threads, and handle OS signals.

Intermediate
Comments 0

signal.signal(signal.SIGTERM, handler) lets a service shut down cleanly.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.