def warn_controller_of_imminent_death(controller_pid):
    # The controller responds to a SIGUSR1 by kicking off a new child process.
    try:
        os.kill(controller_pid, signal.SIGUSR1)
    except __HOLE__, e:
        if not e.errno == errno.ESRCH:
            raise
dataset/ETHPy150Open rtyler/Spawning/spawning/spawning_child.py/warn_controller_of_imminent_death