TABLE OF CONTENTS
::pwtk::tpool::get
SYNOPSIS
method get {what} {
PURPOSE
Query the basic tpool info, i.e.:
$obj get type ... returns the type of tpool (i.e., thread, bg, or remote) $obj get nworkers ... returns the number of tpool workers $obj get tpid ... returns the TPool ID
SOURCE
switch -glob -- $what { type { return $type } nwork* { return $nworkers } tpid { return $tpid } default { ::pwtk::error "bad argument \"$what\", must be one of type, nworkers, or tpid" 1 } } }