From: Braden M. <br...@us...> - 2007-04-22 09:09:35
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20594 Modified Files: ChangeLog Log Message: Ensure that only one thread at a time writes a request to the request channel. Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1481 retrieving revision 1.1482 diff -C2 -d -r1.1481 -r1.1482 *** ChangeLog 22 Apr 2007 09:04:36 -0000 1.1481 --- ChangeLog 22 Apr 2007 09:09:33 -0000 1.1482 *************** *** 1,4 **** --- 1,19 ---- 2007-04-22 Braden McDaniel <br...@en...> + Ensure that only one thread at a time writes a request to the + request channel. + + * src/openvrml-xembed/gtkvrmlbrowser.cpp + (browser): Added member request_channel_mutex_ to protect + request_channel_. Added member function write_request_chars. + (browser::do_get_resource(const std::string &)): Store a reference + to the browser in the plugin_resource_istream so that the + thread-safe function browser::write_request_chars can be called. + (browser::write_request_chars(const gcharr *, gssize, gsize *)): + Lock the request_channel_mutex_ while writing to the + request_channel_. + + 2007-04-22 Braden McDaniel <br...@en...> + * src/openvrml-xembed/gtkvrmlbrowser.cpp (resource_fetcher::~resource_fetcher()): Added destructor |