diff options
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 11 |
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. * *---------------------------------------------------------------------- */ |