Boost logo

Boost :

From: Roland (roland.schwarz_at_[hidden])
Date: 2004-08-04 02:26:59


On Wed, 04 Aug 2004 08:56:51 +0200 Bronek Kozicki <brok_at_[hidden]> wrote:

> Roland wrote:
> > I did not yet test this, but are we overriding the _tls_used when simply
> > referencing it? We only rely on the linkers ability do define it when needed.
>
> We are not. But Holger Grund proposed solution that worked on MSVC6 (at
> least on Windows Server 2003), and that solution was just defining
> symbol _tls_used instead of asking compiler to create it. EXE did not
> contain .tls section at all in this case.

I am a little afraid, that defining _tls_used ourselfes, we could messs up with the
copilers ability to handle __declspec(thread) correctly. Did you any testing on
this so far?

Roland


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk