Capturing SIGSTOP

Chris Angelico rosuav at gmail.com
Thu Nov 24 03:12:13 EST 2011


On Thu, Nov 24, 2011 at 5:36 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
>    os.kill(os.getpid(), signal.SIGSTOP)  # Hit myself with a brick.
>

Sometimes there'll be a raise() function but it's going to do the same
thing. Yep, that would be the way to do it.

ChrisA



More information about the Python-list mailing list