diff options
author | hobbs <hobbs@noemail.net> | 2000-04-20 01:30:19 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2000-04-20 01:30:19 (GMT) |
commit | a10461dd388abea9a0e4f6fbdc45664f582368ff (patch) | |
tree | 19919ac6b35eee37554b245875994c9bb3df6434 /doc/Thread.3 | |
parent | 5de6b32d4d6ac6f28347d7744ab9e5a12099a87e (diff) | |
download | tcl-a10461dd388abea9a0e4f6fbdc45664f582368ff.zip tcl-a10461dd388abea9a0e4f6fbdc45664f582368ff.tar.gz tcl-a10461dd388abea9a0e4f6fbdc45664f582368ff.tar.bz2 |
* library/dde1.1/pkgIndex.tcl:
* library/reg1.0/pkgIndex.tcl:
* win/tclWinChan.c:
* win/tclWinThrd.c: converted CRLF to LF the */tcl.hpj.in files
were not converted, as it confuses hcw locally. [Bug: 5096]
* win/Makefile.in: expanded cleanup or help files
* doc/Thread.3: minor macro cleanup
FossilOrigin-Name: c818263820a105c3b8dd72ec347d711487c57a18
Diffstat (limited to 'doc/Thread.3')
-rw-r--r-- | doc/Thread.3 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/Thread.3 b/doc/Thread.3 index 3ba95b2..3f18471 100644 --- a/doc/Thread.3 +++ b/doc/Thread.3 @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: Thread.3,v 1.9 2000/04/09 16:04:17 kupries Exp $ +'\" RCS: @(#) $Id: Thread.3,v 1.10 2000/04/20 01:30:19 hobbs Exp $ '\" .so man.macros .TH Threads 3 "8.1" Tcl "Tcl Library Procedures" @@ -86,7 +86,7 @@ the same Tcl interpreter. (However, as was the case in previous releases, a single thread can safely create and use multiple interpreters.) .PP -.VB +.VS 8.3.1 Tcl does provide \fBTcl_CreateThread\fR for creating threads. The caller can determine the size of the stack given to the new thread and modify the behaviour through the supplied \fIflags\fR. The value @@ -98,7 +98,7 @@ first of them invokes the default behaviour with no specialities. Using the second value marks the new thread as \fIjoinable\fR. This means that another thread can wait for the such marked thread to exit and join it. - +.PP Restrictions: On some unix systems the pthread-library does not contain the functionality to specify the stacksize of a thread. The specified value for the stacksize is ignored on these systems. Both @@ -122,6 +122,7 @@ feature at this time, see the \fItclThreadTest.c\fR file in the Tcl source distribution for an experimental implementation of a Tcl "Thread" package implementing thread creation and management commands at the script level. + .SH DESCRIPTION A mutex is a lock that is used to serialize all threads through a piece of code by calling \fBTcl_MutexLock\fR and \fBTcl_MutexUnlock\fR. |