[pygtk] gtk.IconView random segfault

Mitko Haralanov mitko at qlogic.com
Thu Jul 10 08:08:15 WST 2008


On Wed, 09 Jul 2008 19:41:31 -0400
Felipe Reyes <felipereyes at gmail.com> wrote:

> Yes, with the locks everything works fine, but the locks added some
> overhead (about 10 secons when loading 2500 pictures), I suppose that
> this is normal, right?

I guess it is possible for the locking to add overhead since the entire
gtk uses one master lock.
Also, are you sure that it's the locks? Have you been able to load all
2500 images before without segfaults so you can measure the time?
The alternative would be to not use a separate thread for loading the
model.

-- 
Mitko Haralanov
==========================================
Everybody needs a little love sometime; stop hacking and fall in love!


More information about the pygtk mailing list