You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jon Smirl <jo...@mediaone.net> on 2000/07/09 07:48:20 UTC

os-windows/6287: APACHE_TLS __declspec( thread )

>Number:         6287
>Category:       os-windows
>Synopsis:       APACHE_TLS __declspec( thread )
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Jul 08 22:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     jonsmirl@mediaone.net
>Release:        1.3.12
>Organization:
apache
>Environment:
WIN95 JONSMIRL 4.0 67306684 xx I386
>Description:
Use of __declspec( thread ) prevents LoadLibrary from running on Win95. My module which does not use TLS is linked to ApacheCore.dll which does use TLS. When regsvr32 or regxpcom try to register my dll they are unable to load it.
>How-To-Repeat:
do this on Win95...
regsvr32 ApacheCore.dll
>Fix:
Is using GetProcAddress from my module for the Apache API the only way out? yuk!

Or could the TLS be dynamically allocated from ApacheCore's DLLMain?
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]