Difference between revisions of "Ns cleanup"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 533)
(No difference)

Revision as of 15:51, 4 October 2005

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

Category Documentation - Category Core Tcl API