nsshell::THREAD method init (protected)
<instance of nsshell::THREAD> init
Defined in /usr/local/ns/tcl/nsshell/shell.tcl
- Testcases:
- No testcase defined.
Source code: if {![ns_ictl epoch]} { # We are during initialization. set :initCmd { package req nx } } append :initCmd { ns_thread name SELF ::nsf::exithandler set { ns_log notice "[self] exits" } } regsub -all SELF ${:initCmd} [self] :initCmd append :initCmd \n [list set ::currentThread [self]] \n ${:cmd} set :mutex [thread::mutex create] ns_log notice "mutex ${:mutex} created" nextXQL Not present: Generic, PostgreSQL, Oracle