Update of /cvsroot/openvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv27131
Modified Files:
Tag: OpenVRML-0_16-BRANCH
ChangeLog
Log Message:
gtk_vrml_browser_load_url needs to spawn a new thread. Otherwise we can hold up the main event loop and deadlock.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v
retrieving revision 1.1310.2.158
retrieving revision 1.1310.2.159
diff -C2 -d -r1.1310.2.158 -r1.1310.2.159
*** ChangeLog 26 Apr 2007 07:43:44 -0000 1.1310.2.158
--- ChangeLog 27 Apr 2007 03:01:24 -0000 1.1310.2.159
***************
*** 1,4 ****
--- 1,22 ----
2007-04-26 Braden McDaniel <br...@en...>
+ gtk_vrml_browser_load_url needs to spawn a new thread. Otherwise
+ we can hold up the main event loop and deadlock.
+
+ * src/openvrml-xembed/gtkvrmlbrowser.cpp
+ (browser): Added thread_group_ for threads spawned from
+ gtk_vrml_browser_load_url; added create_thread wrapper for
+ boost::thread::thread_group::create_thread.
+ (GtkGLViewer): Added member load_url, a thread function object.
+ (GtkGLViewer::load_url): Thread function object called by thread
+ spawned from gtk_vrml_browser_load_url.
+ (gtk_vrml_browser_load_url(GtkVrmlBrowser *, const gchar **, const
+ gchar **): Delegate to a new thread.
+ (browser::~browser()): Join all threads in the thread group.
+ (browser::create_thread(const boost::function0<void> &)): Create a
+ new thread.
+
+ 2007-04-26 Braden McDaniel <br...@en...>
+
* lib/gtkglext/configure.in: Calls to AM_PATH_GLIB_2_0 and
AM_PATH_GTK_2_0 aren't doing anything useful; actual dependency
|