diff options
author | vasiljevic <zv@archiware.com> | 2004-11-25 16:01:16 (GMT) |
---|---|---|
committer | vasiljevic <zv@archiware.com> | 2004-11-25 16:01:16 (GMT) |
commit | c777c673b8cd6683cf7969c086d8bc6a0dee3785 (patch) | |
tree | 19b53ffd03834dce742b406b4a65687ce8bb42c1 /doc/Thread.3 | |
parent | cc7246b86407186366a64a86fa18704965629271 (diff) | |
download | tcl-c777c673b8cd6683cf7969c086d8bc6a0dee3785.zip tcl-c777c673b8cd6683cf7969c086d8bc6a0dee3785.tar.gz tcl-c777c673b8cd6683cf7969c086d8bc6a0dee3785.tar.bz2 |
Added changes from core-8-4-branch
Diffstat (limited to 'doc/Thread.3')
-rw-r--r-- | doc/Thread.3 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/Thread.3 b/doc/Thread.3 index d1962e4..0192588 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.19 2004/10/07 14:44:35 dkf Exp $ +'\" RCS: @(#) $Id: Thread.3,v 1.20 2004/11/25 16:01:17 vasiljevic Exp $ '\" .so man.macros .TH Threads 3 "8.1" Tcl "Tcl Library Procedures" @@ -145,6 +145,9 @@ The result of locking a mutex twice from the same thread is undefined. On some platforms it will result in a deadlock. The \fBTcl_MutexLock\fR, \fBTcl_MutexUnlock\fR and \fBTcl_MutexFinalize\fR procedures are defined as empty macros if not compiling with threads enabled. +For declaration of mutexes the \fBTCL_DECLARE_MUTEX\fR macro should be used. +This macro assures correct mutex handling even when the core is compiled +without threads enabled. .PP A condition variable is used as a signaling mechanism: a thread can lock a mutex and then wait on a condition variable |