Is there any way in AOLSserver 4 to have per-tcl-interpreter global
variables?
Alternatively, does each interpreter have a unique ID that can be
queried within tcl? If so, I could use nsv_set to store per-
interpreter globals?
The reason I need this is that commands created in a tcl interpreter
have global scope (ie, creating a berkeleydb handle creates a new
command called db0, db1, etc..) and I need to know what the handle
name is. nsv_set is global to all interpreters, so that won't work.
ns_cache creates a per-thread global, which is not quite the same
thing, as sometimes the same thread will use a different interpreter.
-john
--
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.