Re: gdk/gtk+ win32 thread question, please help to explain

2011-11-23 Thread Emmanuel Thomas-Maurin
>> -> Windows portability for gnome software >> (http://www.iki.fi/tml/fosdem-2006.pdf) > > I don't know this useful presentation before, Thanks. I have spent weeks trying to debug a gtk-win32 application with threads until I finally discovered this one and modified the code. ;) -- Emmanuel Tho

Re: gdk/gtk+ win32 thread question, please help to explain

2011-11-23 Thread KC
On Wed, Nov 23, 2011 at 4:16 PM, Emmanuel Thomas-Maurin wrote: > On 11/23/2011 07:28 AM, KC wrote: >> On Wed, Nov 23, 2011 at 12:43 PM, Michael Cronenworth >> wrote: >>> On 11/22/2011 10:13 PM, KC wrote: So the "Unfortunately ..." statement only apply to GDK on WIN32 ? It's safe t

Re: gdk/gtk+ win32 thread question, please help to explain

2011-11-23 Thread Emmanuel Thomas-Maurin
On 11/23/2011 07:28 AM, KC wrote: > On Wed, Nov 23, 2011 at 12:43 PM, Michael Cronenworth wrote: >> On 11/22/2011 10:13 PM, KC wrote: >>> >>> So the "Unfortunately ..." statement only apply to GDK on WIN32 ? >>> It's safe to call GTK+ APIs (if protected by gdk_threads_enter/leave) >>> from multi-t

Re: gdk/gtk+ win32 thread question, please help to explain

2011-11-22 Thread KC
On Wed, Nov 23, 2011 at 12:43 PM, Michael Cronenworth wrote: > On 11/22/2011 10:13 PM, KC wrote: >> >> So the "Unfortunately ..." statement only apply to GDK on WIN32 ? >> It's safe to call GTK+ APIs (if protected by gdk_threads_enter/leave) >> from multi-threads even on WIN32 backend ? Is this co

Re: gdk/gtk+ win32 thread question, please help to explain

2011-11-22 Thread Michael Cronenworth
On 11/22/2011 10:13 PM, KC wrote: So the "Unfortunately ..." statement only apply to GDK on WIN32 ? It's safe to call GTK+ APIs (if protected by gdk_threads_enter/leave) from multi-threads even on WIN32 backend ? Is this correct ? No. GTK2 (I can't say about GTK3, but I bet it is the same) most

Re: gdk/gtk+ win32 thread question, please help to explain

2011-11-22 Thread KC
On Wed, Nov 23, 2011 at 11:06 AM, KC wrote: > Hi, > > According to http://developer.gnome.org/gdk/stable/gdk-Threads.html > > ... > Unfortunately the above holds with the X11 backend only. With the Win32 > backend, > GDK calls should not be attempted from multiple threads at all. > ... > > The "U