Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #57074

Re: Multiprocessing: killing children when parent dies

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Multiprocessing: killing children when parent dies
Date 2013-10-18 14:58 -0400
References <CAEmTpZE9ScBviQsu4YB=cg8f-xNn-LF+ZZ=S4XNDc8oT3U-CaA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1242.1382122807.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 10/18/2013 8:52 AM, Марк Коренберг wrote:
> import prctl

This is not a stdlib module.

> prct.set_pdeathsig(.....)
> if os.getppid() == 1:
>   raise AlreadyDead()

What is your point?

Your signature said
 >Segmentation fault

If you meant that the above code segfaults, then there is a bug in 
prctl. Tell its authors.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Multiprocessing: killing children when parent dies Terry Reedy <tjreedy@udel.edu> - 2013-10-18 14:58 -0400

csiph-web