[pygtk] Multithreading with Python and GTK

saeed saeed.gnu at gmail.com
Fri Jul 17 07:22:19 WST 2009


When you use PyGTK and PyGObject, you probably not need to Python's
threading. What's your use of threading?

On 7/16/09, Andreas Sommer <AndiDog at web.de> wrote:
> Hi,
>
> I'm currently having some problems with the following error:
>
> python: ath.c:193: _gcry_ath_mutex_lock: Assertion `*lock ==
> ((ath_mutex_t) 0)` failed.
>
> Some info about my system:
>
> Debian lenny 5.0.1 (having apt-get upgrade'd with all stable packages)
> Python 2.5.2
> libgcrypt 1.4.4-3
> python-gtk2 2.12.1-6
>
> For your information, I called gtk.gdk.threads_init() before gtk.main
> (actually at the very beginning of my script). I'm getting this problem
> when using Python threads derived from threading.Thread.
>
> Is it possible at all to use GTK with Python's threading module? Did
> anybody else experience such problems?
>
> Best regards
>   Andreas
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
>


More information about the pygtk mailing list