This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/34797] [parallel mode] Settings are separated for each compilation unit
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jan 2008 17:20:09 -0000
- Subject: [Bug libstdc++/34797] [parallel mode] Settings are separated for each compilation unit
- References: <bug-34797-15092@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from bkoz at gcc dot gnu dot org 2008-01-17 17:20 -------
I'd actually worked up a solution that takes the mt_allocator.h approach of a
settings datum, with public get/set methods. Thus, the default datum is private
to the libstdc++.a/.so binary.
This is the eventual solution, I think, but maybe not the best temporary one.
I'd not finished it off, as there was some question about forward compat. I'll
attach include/parallel/settings.h to this bug report.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34797