Difference between revisions of "Ns cleanup"

From AOLserver Wiki
Jump to navigation Jump to search
(imported from WiKit id 533)
 
Line 23: Line 23:
 
----
 
----
  
[[Category Documentation]] - [[Category Core Tcl API]]
+
[[Category:Documentation]] - [[Category:Core Tcl API]]

Revision as of 19:04, 7 February 2009

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

-