[Python-Dev] Re: Signal-resistant code (was: Two random and nearly unrelated ideas)

Guido van Rossum guido@python.org
Fri, 06 Sep 2002 11:12:14 -0400


> Could we connect signals to semaphores or locks or something 
> like that? That would allow you to do the two things that i 
> think are worth doing in a signal handler: setting a flag and/or 
> making some other part of the code wake up.

But that mixes signals with threads, which is even more poorly
standardized than signals in general.

--Guido van Rossum (home page: http://www.python.org/~guido/)