From ffa67254d0f2a8b968f43dac4faaf3fba2a3f918 Mon Sep 17 00:00:00 2001 From: davygrvy Date: Wed, 27 Nov 2002 02:22:23 +0000 Subject: adjusted some commentary to be more accurate. --- win/tclWinSock.c | 11 ++++++----- 1 file 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. * *---------------------------------------------------------------------- */ -- cgit v0.12