On Wednesday, March 1, 2006 9:39 pm, Bas Scheffers <[EMAIL PROTECTED]> wrote:
> AOLserver keeps a pool of threads than handle client requests and > each of these gets a seperate Tcl interpreter assigned. Each virtual > server has their own pool. Thanks Bas, that's very helpful. > The code in the "modules/tcl" directory gets parsed into an > "interpreter init script". Any time a new thread is created, > this script is run in the freshly instantiated interpreter. > This is basically all the procedures that are defined in the > Tcl files, to make sure things like "ns_register_proc" are > not run twice. So does the interpret split the modules/tcl code up into "once-only" and "per-interpreter" parts? How is this split made? If a Tcl file "source"s another file, is that file split too? Cheers, Jeremy Henty -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
