On Wed, 09 Jul 2008 19:41:31 -0400
Felipe Reyes <[EMAIL PROTECTED]> 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!
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to