Ns cleanup

From AOLserver Wiki
Revision as of 19:04, 7 February 2009 by Gustafn (talk | contribs)
Jump to navigation Jump to search

Man page: http://aolserver.com/docs/tcl/ns_cleanup.html


NAME

ns_cleanup - Clean up the current Tcl interpreter

SYNOPSIS

ns_cleanup

DESCRIPTION

This command cleans up the current Tcl interp, performing various garbage collection tasks. This command is invoked by the Ns_TclDeAllocateInterp() C function (when?).
When would you ever want to use this? (Dossy: I assume this isn't a rhetorical question. You would want to use this when you need to clean up the current Tcl interpreter. Most common case would be in a non-connection thread, where ns_cleanup isn't automatically invoked for you.)

SEE ALSO

ns_init, ns_markfordelete

-