summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */