[Python-Dev] Problem with signals in a single threaded application

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Jan 27 02:34:31 CET 2007


Martin v. Löwis wrote:

> Please
> try to come up with a patch (e.g. by putting a while(is_tripped) loop
> around the for loop).

That isn't going to fix it. What's needed is to somehow
atomically test and clear is_tripped at the beginning.
You can put a while loop around it as well if you want,
but it's not strictly necessary.

--
Greg



More information about the Python-Dev mailing list