This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Integration of parallel standard algorithms for c++17
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Thomas Rodgers <trodgers at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Thu, 21 Mar 2019 11:41:12 +0000
- Subject: Re: [PATCH] Integration of parallel standard algorithms for c++17
- References: <xkqek1lksswb.fsf@trodgers.remote.f27> <1050db8c-2774-2210-dd39-12caa9bdb564@redhat.com> <20190207132629.GH17805@redhat.com> <xkqesgvspvpw.fsf@trodgers.remote.f27> <20190319202615.GK943@redhat.com> <xkqe1s31p9h0.fsf@trodgers.remote.f27> <xkqezhppnu93.fsf@trodgers.remote.f27> <xkqey359ntn0.fsf@trodgers.remote.f27> <20190321113702.GN943@redhat.com>
On 21/03/19 11:37 +0000, Jonathan Wakely wrote:
Exporting something like this from libstdc++.so would work, but is
disgusting (and presumably "tbb::interface7" changes from release to
release?"):
extern "C" [[__gnu__::__weak__]]
int
_ZN3tbb10interface78internal15task_arena_base21internal_current_slotEv()
{ return -1; }
Actually looking at TBB, -2 would make sense (as that's the value of
task_arena::not_initialized), but I don't think we want to do this
anyway.