Mention that the Win32 backend should not be used from multiple threads.

2006-04-04  Tor Lillqvist  <tml@novell.com>

	* gdk/tmpl/threads.sgml: Mention that the Win32 backend should not
	be used from multiple threads.
This commit is contained in:
Tor Lillqvist 2006-04-03 21:04:34 +00:00 committed by Tor Lillqvist
parent 9713b368b2
commit 208eda2e59
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-04-04 Tor Lillqvist <tml@novell.com>
* gdk/tmpl/threads.sgml: Mention that the Win32 backend should not
be used from multiple threads.
2006-03-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Updates

View File

@ -22,6 +22,11 @@ which protects all use of GTK+. That is, only one thread can use GTK+
at any given time.
</para>
<para>
Unfortunately the above holds with the X11 backend only. With the
Win32 backend, GDK calls should not be attempted from multiple threads
at all.
</para>
<para>
You must call g_thread_init() and gdk_threads_init() before executing
any other GTK+ or GDK functions in a threaded GTK+ program.
</para>