re PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded...
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 15 Aug 2002 22:25:39 +0000 (22:25 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 15 Aug 2002 22:25:39 +0000 (22:25 +0000)
commit6e52332ec743ed97352e296c95cf86395a88f1ae
treed869577f3f25537a62302060b582053cc98e25a5
parent204250d2fcd0840a6ded28044dc76ab25906445a
re PR libstdc++/7445 (poor performance of std::locale::classic() in multi-threaded applications)

2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
_M_buf_size_opt to zero when unbuffering.
* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
Consistency checks for _M_buf_size_opt.

Revert PR libstdc++/7445
* src/locale.cc (locale::classic): Revert.

* docs/html/17_intro/TODO: Add.

From-SVN: r56365
libstdc++-v3/ChangeLog
libstdc++-v3/docs/html/17_intro/TODO
libstdc++-v3/include/bits/fstream.tcc
libstdc++-v3/include/ext/stdio_filebuf.h
libstdc++-v3/src/locale.cc