diff options
author | stanton <stanton> | 1998-11-11 04:54:06 (GMT) |
---|---|---|
committer | stanton <stanton> | 1998-11-11 04:54:06 (GMT) |
commit | c0fd219230e4295c44743ad165a0d5a1c980b7dc (patch) | |
tree | ecdef91e34f72a712092b469a2a5ff861db47fb7 /generic/tclAsync.c | |
parent | 131c68d85079ca5a553b28fef489cf29b79f1176 (diff) | |
download | tcl-c0fd219230e4295c44743ad165a0d5a1c980b7dc.zip tcl-c0fd219230e4295c44743ad165a0d5a1c980b7dc.tar.gz tcl-c0fd219230e4295c44743ad165a0d5a1c980b7dc.tar.bz2 |
lots of lint
wrapped mutex declarations in ifdefs to avoid compiler warnings
Diffstat (limited to 'generic/tclAsync.c')
-rw-r--r-- | generic/tclAsync.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/tclAsync.c b/generic/tclAsync.c index 8abe3c5..8f04d67 100644 --- a/generic/tclAsync.c +++ b/generic/tclAsync.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclAsync.c,v 1.1.2.2 1998/09/24 23:58:40 stanton Exp $ + * RCS: @(#) $Id: tclAsync.c,v 1.1.2.3 1998/11/11 04:54:06 stanton Exp $ */ #include "tclInt.h" @@ -41,7 +41,10 @@ typedef struct AsyncHandler { static AsyncHandler *firstHandler; /* First handler defined for process, * or NULL if none. */ static AsyncHandler *lastHandler; /* Last handler or NULL. */ + +#ifdef TCL_THREAD static Tcl_Mutex asyncMutex; /* Process-wide async handler lock */ +#endif /* * The variable below is set to 1 whenever a handler becomes ready and |