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



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 definitely does not work with threads even with gdk_threads_enter/leave under Win32.

You can use threads in your app, but all GTK2 operations must be strictly done by the primary thread.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]