Ok - I think I found it! Check out the latest rivet sources. I added
this:
static void
Rivet_InitTclStuff(server_rec *s, pool *p)
{
int rslt;
Tcl_Interp *interp;
rivet_interp_globals *globals = NULL;
rivet_server_conf *rsc = RIVET_SERVER_CONF( s->module_config );
server_rec *sr;
/* Apache actually loads all the modules twice, just to see if it
* can. This is a pain, because things don't seem to get
* completely cleaned up on the Tcl side. So this little hack
* should make us *really* load only the second time around. */
if (getenv("RIVET_INIT") == NULL) {
setenv("RIVET_INIT", "1", 0);
return;
}
So far it seems to work. I think there is probably a better way,
though. I know there is for Apache 2.0. In any case, I finally got a
threaded build to pass all my tests with no problems at all.
Now... who knows what it will do on windows:-)
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]