summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-11-27 02:22:23 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-11-27 02:22:23 (GMT)
commitffa67254d0f2a8b968f43dac4faaf3fba2a3f918 (patch)
tree471ddc76dd986d5d6e9cefa74693237a2f4e63a3 /win/tclWinSock.c
parent325279049d03ba64912f4fd1280fec04a07ab610 (diff)
downloadtcl-ffa67254d0f2a8b968f43dac4faaf3fba2a3f918.zip
tcl-ffa67254d0f2a8b968f43dac4faaf3fba2a3f918.tar.gz
tcl-ffa67254d0f2a8b968f43dac4faaf3fba2a3f918.tar.bz2
adjusted some commentary to be more accurate.
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index d830e56..d87400f 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinSock.c,v 1.29 2002/11/27 01:41:13 davygrvy Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.30 2002/11/27 02:22:23 davygrvy Exp $
*/
#include "tclWinInt.h"
@@ -175,8 +175,8 @@ typedef struct ThreadSpecificData {
* socketThread has been initialized and has
* started. */
HANDLE socketListLock; /* Win32 Event to lock the socketList */
- SocketInfo *socketList; /* Every open socket has an entry on this
- * list. */
+ SocketInfo *socketList; /* Every open socket in this thread has an
+ * entry on this list. */
} ThreadSpecificData;
static Tcl_ThreadDataKey dataKey;
@@ -276,7 +276,6 @@ InitSockets()
initialized = 1;
Tcl_CreateExitHandler(SocketExitHandler, (ClientData) NULL);
- /* Try loading the win32 winsock library. */
winSock.hModule = LoadLibraryA("wsock32.dll");
/*
@@ -596,7 +595,9 @@ SocketThreadExitHandler(clientData)
* an error in interp.
*
* Side effects:
- * None.
+ * If not already prepared, initializes the TSD structure and
+ * socket message handling thread associated to the calling thread
+ * for the subsystem of the driver.
*
*----------------------------------------------------------------------
*/