From: Braden M. <br...@us...> - 2007-05-12 03:29:43
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26508 Modified Files: ChangeLog Log Message: Protect the plugin_streambuf_map with a mutex. Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1494 retrieving revision 1.1495 diff -C2 -d -r1.1494 -r1.1495 *** ChangeLog 5 May 2007 06:09:05 -0000 1.1494 --- ChangeLog 12 May 2007 03:29:41 -0000 1.1495 *************** *** 1,2 **** --- 1,28 ---- + 2007-05-11 Braden McDaniel <br...@en...> + + Protect the plugin_streambuf_map with a mutex. + + * src/openvrml-xembed/main.cpp + (openvrml_xembed::command_istream_reader::operator()() const): + plugin_streambuf_map::find now returns a + shared_ptr<plugin_streambuf>. plugin_streambuf_map::erase now + takes a stream id. + * src/openvrml-xembed/plugin_streambuf.cpp + (openvrml_xembed::plugin_streambuf::init(size_t, const + std::string&, const std::string &)): Modified to use new + plugin_streambuf_map interface. + (openvrml_xembed::plugin_streambuf_map): Removed. + (openvrml_xembed::plugin_streambuf_map::find(size_t) const): Added + function. + (openvrml_xembed::plugin_streambuf_map::insert(size_t, const + boost::shared_ptr<plugin_streambuf> &)): Added function. + (openvrml_xembed::plugin_streambuf_map::erase(size_t)): Added + function. + * src/openvrml-xembed/plugin_streambuf.h + (openvrml_xembed::uninitialized_plugin_streambuf_map): Inherit + boost::noncopyable. + (openvrml_xembed::plugin_streambuf_map): Rather than just use a + std::map directly, protect it with a mutex. + 2007-05-05 Braden McDaniel <br...@en...> |