diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-09-04 12:23:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-09-04 12:23:18 (GMT) |
commit | 1ee459aa148ae0eb14af0f2c7f190c994a03504e (patch) | |
tree | 49001096400bf79d807252c8c57a998fadf40025 /doc/Thread.3 | |
parent | 9f4810e640df71536c9d62db92dbd5d340bd7f02 (diff) | |
download | tcl-1ee459aa148ae0eb14af0f2c7f190c994a03504e.zip tcl-1ee459aa148ae0eb14af0f2c7f190c994a03504e.tar.gz tcl-1ee459aa148ae0eb14af0f2c7f190c994a03504e.tar.bz2 |
Document that multi-threading is on by default since 8.6
Diffstat (limited to 'doc/Thread.3')
-rw-r--r-- | doc/Thread.3 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/Thread.3 b/doc/Thread.3 index ac5f2ba..5966a71 100644 --- a/doc/Thread.3 +++ b/doc/Thread.3 @@ -4,7 +4,7 @@ '\" '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. -'\" +'\" .TH Threads 3 "8.1" Tcl "Tcl Library Procedures" .so man.macros .BS @@ -79,9 +79,10 @@ waited upon into it. .SH INTRODUCTION Beginning with the 8.1 release, the Tcl core is thread safe, which allows you to incorporate Tcl into multithreaded applications without -customizing the Tcl core. To enable Tcl multithreading support, -you must include the \fB\-\|\-enable-threads\fR option to \fBconfigure\fR -when you configure and compile your Tcl core. +customizing the Tcl core. Starting with the 8.6 release, Tcl +multithreading support is on by default. To disable Tcl multithreading +support, you must include the \fB\-\|\-disable-threads\fR option to +\fBconfigure\fR when you configure and compile your Tcl core. .PP An important constraint of the Tcl threads implementation is that \fIonly the thread that created a Tcl interpreter can use that @@ -126,7 +127,7 @@ will cause a memory leak. .PP The \fBTcl_GetThreadData\fR call returns a pointer to a block of thread-private data. Its argument is a key that is shared by all threads -and a size for the block of storage. The storage is automatically +and a size for the block of storage. The storage is automatically allocated and initialized to all zeros the first time each thread asks for it. The storage is automatically deallocated by \fBTcl_FinalizeThread\fR. .SS "SYNCHRONIZATION AND COMMUNICATION" |