Craig Huckabee <[EMAIL PROTECTED]> writes: > I just checked in the changes to CVS that allow mod_dtcl.c to be > built with a threaded Tcl on Windows. I hope to have some new > binaries built tomorrow that can be put on the mod_dtcl download > page.
Great! > I was able to beat on this with a multiple frame page, with each > frame running a different task with no problems so I hope this has > killed off the frame problem for good. If you try this out before I > get binaries posted, please let me know if you have problems. > Hopefully the makefile is easier to read now too. > David, > I had to do things slightly different from Rivet - using an > environment variable seemed to cause more problems, and required > linking in with -liberty to get setenv() under MingW32. Not sure if > that library is thread safe in any case. I used a static flag > instead. Also, I do the real init on the first load, and skip the > load after that. I think that is backwards from Rivet, but the > other way crashed pretty horribly under a non-threaded build. The env variable was an (ugly) hack. Are you sure that the static flag is that, across multiple open and closes of a library? If it is, it's a better solution. I'm nervous it won't be multiplatform, though... Thanks for doing this! -- 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]
