On Tuesday, March 7, 2006 1:30 pm, Dossy Shiobara <[EMAIL PROTECTED]> wrote:
>... The shared library location ... is set to the
>subdirectory "modules/tcl" within [ns_info home], or:
>
> [ns_info home]/modules/tcl
> ...
>Then, there is a per-server Tcl directory ... which is:
>
> [ns_info home]/servers/${servername}/modules/tcl
Thanks a lot Dossy (and Bas again), but I'm still confused about how often
this code is executed (as opposed to which code is loaded into what virtual
server, which Dossy has made perfectly clear). When a new thread is created,
is it's Tcl interpreter created from scratch by reexecuting the source, or
is it simply cloned from a preexisting interpreter? (Or a bit of both?)
Put it another way, if I stick an ns_log in the source, will I see that
log message only when the AOLserver process starts, or will it appear
whenever a new thread is initialised? Do special commands like proc, ns_eval,
ns_register_proc etc. get some special magic to do the right thing? If I
define a proc-like command do I need to bewitch it so that the magic works
for it too?
Regards,
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.