diff options
author | Tor Lillqvist <tml@novell.com> | 2006-04-03 21:04:34 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2006-04-03 21:04:34 +0000 |
commit | 208eda2e59d9fc5340def61220fc8a6d8469a4af (patch) | |
tree | f5a1a9675f609137d6f982df5dea20df444bd3c7 /docs/reference/gdk | |
parent | 9713b368b215b245b5c9d3cc875ea9259a5728c6 (diff) | |
download | gtk+-208eda2e59d9fc5340def61220fc8a6d8469a4af.tar.gz |
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.
Diffstat (limited to 'docs/reference/gdk')
-rw-r--r-- | docs/reference/gdk/tmpl/threads.sgml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/reference/gdk/tmpl/threads.sgml b/docs/reference/gdk/tmpl/threads.sgml index c973ef9484..0400280ca2 100644 --- a/docs/reference/gdk/tmpl/threads.sgml +++ b/docs/reference/gdk/tmpl/threads.sgml @@ -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> |