www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@hyperreal.org
Subject Re: os-windows/1168: APACHE_TLS cannot be used in modules on Windows95
Date Mon, 01 Dec 1997 15:51:03 GMT
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]


Synopsis: APACHE_TLS cannot be used in modules on Windows95

State-Changed-From-To: feedback-analyzed
State-Changed-By: pcs
State-Changed-When: Mon Dec  1 07:51:01 PST 1997
State-Changed-Why:
There is a bug in MSVC++ which means you cannot use
__declspec(thread) in DLL's loaded with LoadLibrary().
Apache modules are loaded with LoadLibrary(), and
APACHE_TLS is defined as __declspec(), so this
means you cannot use APACHE_TLS in apache modules.

MS recommend you use the Tls*() functions instead for
thread-local storage. More details are in the MS Knowledge
Base, article 118816.


Mime
View raw message