Tcl Source Code

Artifact [6c880d6662]
Login

Artifact 6c880d66622873356de616c271bbaab47c0bb254:

Attachment "tpool.man.patch" to ticket [1851243fff] added by [email protected] 2007-12-15 16:56:32.
--- tpool.man~	Sun Dec 19 20:45:17 2004
+++ tpool.man	Sat Dec 15 18:49:52 2007
@@ -30,7 +30,7 @@
 
 [list_begin definitions]
 
-[lst_item {-minthreads number}]
+[lst_item {-minworkers number}]
 Minimum number of threads needed for this threadpool instance.
 During threadpool creation, the implementation will create somany
 worker threads upfront and will keep at least number of them alive
@@ -40,7 +40,7 @@
 will be started on demand by callers running [cmd tpool::post] command
 and posting jobs to the job queue.
 
-[lst_item {-maxthreads number}]
+[lst_item {-maxworkers number}]
 Maximum number of threads allowed for this threadpool instance.
 If a new job is pending and there are no idle worker threads available,
 the implementation will try to create new worker thread. If the number
@@ -60,7 +60,7 @@
 to the job queue. If no job arrives during this interval and the time
 expires, the worker thread will check the number of currently available
 worker threads and if the number is higher than the number set by the
-[option minthreads] option, it will exit. 
+[option minworkers] option, it will exit. 
 If an [option exitscript] has been defined, the exiting worker thread 
 will first run the script and then exit. Errors from the exit script, 
 if any, are ignored.