[Python-Dev] Signals+Threads (PyGTK waking up 10x/sec).

Tony Nelson tonynelson at georgeanelson.com
Sat Dec 8 17:31:56 CET 2007


At 2:01 AM -0800 12/8/07, Guido van Rossum wrote:
 ...
>I'm curious -- is there anyone here who understands why [Py]GTK is
>using signals anyway? It's not like writing robust signal handling
>code in C is at all easy or obvious. If instead of a signal a file
>descriptor could be used, all problems would likely be gone.

I don't think PyGTK does for GTK2 signal emission -- though Johan Dahlin is
authoritative here.  See
<http://www.pygtk.org/pygtk2tutorial/sec-TheoryOfSignalsAndCallbacks.html> .
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>


More information about the Python-Dev mailing list