[ Previous ] [ Contents ] [ Index ] [ Next ]

Tcl Interpreters

During AOLserver initialization, only one interpreter exists. While modules are loaded and initialized, they may add procedures to the interpreter. When initialization is complete (all modules are loaded and all Tcl libraries have been executed), the interpreter may no longer be changed.

Each connection thread that requires Tcl will create a copy of the original interpreter.

The AutoClose parameter, which is on by default, will close all non-shared files opened by an interpreter when Ns_TclDeAllocateInterp is invoked. Ns_TclDeAllocateInterp is called after each Tcl request procedure. It is recommended that you leave the AutoClose parameter set to on.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.