On 2006.03.07, Jeremy Henty <[EMAIL PROTECTED]> wrote: > 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?)
It is created from scratch by executing the "init script" which I think you can inspect via [ns_ictl get]. > 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? Hmm, good question - why not try it and experiment and see what happens? Should take less than a minute to get your answer. :-) -- Dossy -- Dossy Shiobara | [EMAIL PROTECTED] | http://dossy.org/ Panoptic Computer Network | http://panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) -- 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.
