This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: stl_threads.h cleanups
- From: Matt Austern <austern at apple dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 19 Jun 2003 13:06:05 -0700
- Subject: Re: stl_threads.h cleanups
On Wednesday, June 11, 2003, at 09:39 AM, Benjamin Kosnik wrote:
Large parts of this file appear to be unused, or under-used. For
example,
struct _STL_auto_lock
is completely unused.
struct _Refcount_Base
is used only in ext/rope, and then only if #__GC is not defined.
Why is this stuff around, if it's not being used... can any of it be
removed?
I'm responsible for both of those things. I wrote them for the I/O
portion of
the SGI standard C++ library. They're unused in libstdc++ because the
I/O
portion of libstdc++ isn't derived from SGI code.
--Matt