nsshell::KernelThreadHandler method useKernel (public)
<instance of nsshell::KernelThreadHandler> useKernel name
Defined in /usr/local/ns/tcl/nsshell/shell.tcl
Create or use the named kernel. If the kernel does not exist, create it new by creating an slave interpreter.
- Parameters:
- name (required)
- Testcases:
- No testcase defined.
Source code: if {$name ni ${:kernels} && $name ne ""} { ns_log notice "Kernel thread creates kernel (= interp) '$name'" kernels do [list interp create $name] # autoload nx, should be generalized kernels do [list interp eval $name { package require nx }] lappend :kernels $name }XQL Not present: Generic, PostgreSQL, Oracle