Mike> To use the locking mechanisms, you'd first intialize the threads Mike> with code like:
Mike> gtk.threads_init () Mike> gtk.threads_enter () Mike> gtk.mainloop () Mike> gtk.threads_leave () Mike> #... Now comes other code in another thread Mike> gtk.threads_enter () Mike> # Modify a widget or something Mike> gtk.threads_leave () It seems then that gtk.threads_enter/leave is functionally like the acquire/release methods of a threading.RLock instance, it's just that the gtk C code knows how to manipulate that single lock. I think I'm synchronized now. Thx, Skip _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk