nsshell::KernelThreadHandler method dropKernel (public)
<instance of nsshell::KernelThreadHandler> dropKernel name
Defined in /usr/local/ns/tcl/nsshell/shell.tcl
Delete a kernel in memory. This method actually deletes the interpreter used for the kernel.
- Parameters:
- name (required)
- Testcases:
- No testcase defined.
Source code: if {$name in ${:kernels} && $name ne ""} { ns_log notice "dropKernel: drop kernel '$name'" # # Delete interpreter # kernels do [list interp delete $name] # # Remove name from the kernels list # set posn [lsearch -exact ${:kernels} $name] set list [lreplace ${:kernels} $posn $posn] } else { ns_log notice "dropKernel: No kernel named '$name' defined." }XQL Not present: Generic, PostgreSQL, Oracle