diff options
author | davygrvy <davygrvy@noemail.net> | 2002-11-27 02:22:23 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2002-11-27 02:22:23 (GMT) |
commit | feacf10f530c7c30bae9bf1874fdcb598eda33af (patch) | |
tree | 471ddc76dd986d5d6e9cefa74693237a2f4e63a3 /win/tclWinSock.c | |
parent | 6e91c5628eb5371df58e294b1b8d12aea1cbafc7 (diff) | |
download | tcl-feacf10f530c7c30bae9bf1874fdcb598eda33af.zip tcl-feacf10f530c7c30bae9bf1874fdcb598eda33af.tar.gz tcl-feacf10f530c7c30bae9bf1874fdcb598eda33af.tar.bz2 |
adjusted some commentary to be more accurate.
FossilOrigin-Name: 596f4ed9960561ab9d218a7ee2522eee77280153
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. * *---------------------------------------------------------------------- */ |