OSDN Git Service

Please enter the commit message for your changes. Lines starting
[eos/base.git] / util / src / TclTk / tcl8.6.12 / pkgs / thread2.8.7 / tcl / README
1
2 Software here is provided as example of making some interesting
3 things and applications using the Tcl threading extension.
4
5 Currently, following packages are supplied:
6
7    tpool/    Example Tcl-only implementation of thread pools.
8              The threading extension includes an efficient
9              threadpool implementation in C. This file is
10              provided as a fully functional example on how this
11              functionality could be implemented in Tcl alone.
12
13    phttpd/   MT-enabled httpd server. It uses threadpool to
14              distribute incoming requests among several worker
15              threads in the threadpool. This way blocking
16              requests may be handled much better, w/o halting
17              the event loop of the main responder thread.
18              In this directory you will also find the uhttpd.
19              This is the same web-server but operating in the
20              event-loop mode alone, no threadpool support.
21              This is good for comparison purposes.
22
23    cmdsrv/   Socket command-line server. Each new connection
24              gets new thread, thus allowing multiple outstanding
25              blocking calls without halting the event loop.
26
27 To play around with above packages, change to the corresponding
28 directory and source files in the Tcl8.4 (or later) Tcl shell.
29 Be sure to have the latest Tcl threading extension installed in
30 your package path.
31
32 - EOF