> What I think may be happening is that the gnome-python GnomeVFS module 
> was created without calls to release/acquire the GIL.  Thus, not only 
> do long-blocking IO's like reads and writes not get switched out, but 
> when the module attempts wait on the lock and puts the thread to sleep, 
> it still holds the GIL so that no other python threads can run.  Does 
> this seem reasonable to people, or am I missing something obvious?  
> Anybody have any idea how hard it might be to implement the GIL inside 
> the gnome-python vfs module code?

As discussed on irc, there has been no effort on trying to support
threading in gnome vfs. I guess someone has to sit down and check all
functions, if we're going to have thread safe bindings.


-- 
Johan Dahlin <[EMAIL PROTECTED]>
Async Open Source

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to