summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-04-24 20:35:40 (GMT)
committerhobbs <hobbs>2002-04-24 20:35:40 (GMT)
commit16cf4cecaa0a6ed9e494719979df3628add2d05e (patch)
tree16ff87b894ff37d98733b27376ee7e5a4f6c0013
parentb9b054ccdcfb4929d702e44e3f9bc7e10cf2e826 (diff)
downloadtcl-16cf4cecaa0a6ed9e494719979df3628add2d05e.zip
tcl-16cf4cecaa0a6ed9e494719979df3628add2d05e.tar.gz
tcl-16cf4cecaa0a6ed9e494719979df3628add2d05e.tar.bz2
noted that this code isn't needed on unix
-rw-r--r--generic/tclThreadJoin.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/generic/tclThreadJoin.c b/generic/tclThreadJoin.c
index 916270a..d3afe33 100644
--- a/generic/tclThreadJoin.c
+++ b/generic/tclThreadJoin.c
@@ -4,17 +4,20 @@
* This file implements a platform independent emulation layer for
* the handling of joinable threads. The Mac and Windows platforms
* use this code to provide the functionality of joining threads.
+ * This code is currently not necessary on Unix.
*
- * Copyright (c) 2000 by Scriptics, Inc.
+ * Copyright (c) 2000 by Scriptics Corporation
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclThreadJoin.c,v 1.3 2002/01/04 15:43:45 dgp Exp $
+ * RCS: @(#) $Id: tclThreadJoin.c,v 1.4 2002/04/24 20:35:40 hobbs Exp $
*/
#include "tclInt.h"
+#if defined(WIN32) || defined(MAC_TCL)
+
/* The information about each joinable thread is remembered in a
* structure as defined below.
*/
@@ -305,3 +308,4 @@ TclSignalExitThread(id,result)
Tcl_MutexUnlock (&threadPtr->threadMutex);
}
+#endif /* WIN32 || MAC_TCL */