Re: Calling gtk code from two different threads

2009-11-12 Thread Andrew Cowie
On Tue, 2009-11-10 at 11:13 +, Raja Mukherji wrote: I have a problem No doubt. But you're on the wrong list. Use gtk-list to ask questions about developing *with* the library. This mailing list is for people hacking *on* the library.ยน where I have to call gtk code, including two

Calling gtk code from two different threads

2009-11-11 Thread Raja Mukherji
I have a problem where I have to call gtk code, including two gtk_main's, from two different threads and was wondering if there's any way to do that _without_ calling gdk_thread_enter/gdk_thread_leave. I'm writing a debugger for an interpreted language, using a gtk gui. The debugger works as

Calling gtk code from two different threads

2009-11-10 Thread Raja Mukherji
I have a problem where I have to call gtk code, including two gtk_main's, from two different threads and was wondering if there's any way to do that _without_ calling gdk_thread_enter/gdk_thread_ leave. I'm writing a debugger for an interpreted language, using a gtk gui. The debugger works as

Re: Calling gtk code from two different threads

2009-11-10 Thread Michael Torrie
Raja Mukherji wrote: I have a problem where I have to call gtk code, including two gtk_main's, from two different threads and was wondering if there's any way to do that _without_ calling gdk_thread_enter/gdk_thread_ leave. There is not, as GTK requires locking to access globals structures.