%3 ::nsshell::CurrentThreadHandler ::nsshell::CurrentThreadHandler _eval autocomplete completion_elements context require eval heartbeat info_complete init ::nsshell::Handler ::nsshell::Handler ::nsshell::CurrentThreadHandler->::nsshell::Handler ::nsshell::KernelThreadHandler ::nsshell::KernelThreadHandler dropKernel eval init useKernel ::nsshell::KernelThreadHandler->::nsshell::Handler ::nx::Object ::nx::Object ::nsshell::Handler->::nx::Object

Class ::nsshell::KernelThreadHandler

::nsshell::KernelThreadHandler[i] create ... \
           [ -kernel (default "") ] \
           [ -kernels (default "") ] \
           [ -supported:1..n (default "eval dropKernel") ]

Defined in /usr/local/ns/tcl/nsshell/shell.tcl

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nsshell::Handler[i]

Methods (to be applied on instances)

  • dropKernel (scripted, public)

     <instance of nsshell::KernelThreadHandler[i]> dropKernel name

    Delete a kernel in memory. This method actually deletes the interpreter used for the kernel.

    Parameters:
    name (required)

    Testcases:
    No testcase defined.
  • eval (scripted, public)

     <instance of nsshell::KernelThreadHandler[i]> eval arg kernel \
        channel

    Evaluate the command provided by "$arg" in the specified kernel.

    Parameters:
    arg (required)
    kernel (required)
    channel (required)

    Testcases:
    No testcase defined.
  • useKernel (scripted, public)

     <instance of nsshell::KernelThreadHandler[i]> useKernel name

    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.