[pygtk] Problem with threads

Nicolas Roman nicolas.roman at aliacom.fr
Wed Mar 1 16:43:14 WST 2006


Selon David Cohen <dacohen at gmail.com>:

> Hi,

Hello

> I don't know if it is a problem with pygtk. I am trying to use thread
> (from threading module) on a program using als pygtk. I create the
> thread and pass a function as the target (mythread =
> threading.Thread(target = myfunc). Then I call the mythread.start()
> but the thread never really starts, just when I call the
> mythread.join() method. But it I do the samething without the pygtk,
> the thread works well.
> Dows anybody could help me?
>

perhaps a search for "thread" in the FAQ ?

http://www.async.com.br/faq/pygtk/index.py?querytype=simple&query=threads&req=search

HTH

nicolas

-- 
Nicolas ROMAN          Ingénieur Intégration/Développement Aliacom
http://www.aliacom.fr                     nicolas.roman at aliacom.fr


More information about the pygtk mailing list