Other Alias
ns_for, ns_while, ns_lctlSYNOPSIS
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
DESCRIPTION
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