ns_lctl(3aolserver)

ns_lctl3aolserver

Replacements for standard tcl loop commands which enable monitoring and control

Usage

ns_for start test next body
ns_foreach varname list body
ns_foreach varlist1 list1 ?varlist2 list2 ...? body
ns_while test body
ns_lctl cancel id
ns_lctl eval id script
ns_lctl info id
ns_lctl install command
ns_lctl list
ns_lctl pause id
ns_lctl result id

    


    


    

Overview

The ns_for, ns_foreach, and ns_while commands are replacements for cooresponding Tcl commands with the additional capability of monitoring and control through the ns_lctl command.

ns_for start test next body

See the for(n) man page for usage.

ns_foreach start test next body

See the foreach(n) man page for usage.

ns_foreach varlist1 list1 ?varlist2 list2 ...? body

See the foreach(n) man page for usage.

ns_while test body

See the while(n) man page for usage.

ns_lctl cancel id

Mark the given loop to cancel at the next iteration, resulting in the loop returning with TCL_ERROR.

ns_lctl eval id script
ns_lctl info id
ns_lctl install command
ns_lctl list
ns_lctl pause id
ns_lctl result id

Keywords

threads, iteration, list, looping, cancel

Releases

Unchanged in 5 releases since Debian 5.0 (Lenny).

  1. 5.0–9

From aolserver4-dev 4.5.1-18.1 in Debian 9 (Stretch). Parsed by carta from the page's man source.