additional iostream thread safety

This commit is contained in:
Peter Thorson
2013-03-02 20:46:36 -06:00
parent 8ec273e363
commit ea4e66e14b

View File

@@ -71,7 +71,7 @@ public:
void register_ostream(std::ostream* o) {
// TODO: lock transport state?
scoped_lock_type lock(m_read_mutex);
output_stream = o;
}