Artifacts Associated With Ticket 217949
Ticket change [aa73119c7e] (rid 100930) by nobody on 2000-10-26 00:46:30:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3933 Bug Version: 8.3b1 SubmitDate: '1999-12-23' LastModified: '2000-04-25' Severity: LOW Status: Closed Submitter: techsupp ChangedBy: hobbs RelatedBugIDs: 3954 3955 3932 OS: Windows 2000 FixedDate: '2000-10-25' ClosedDate: '2000-04-25' Name: David Gravereaux Comments: Please excuse the errors in the last 2 bug reports and disregard them for this. Patch: Index: generic/tclInt.h =================================================================== RCS file: /cvsroot/tcl/generic/tclInt.h,v retrieving revision 1.39 diff -c -r1.39 tclInt.h *** tclInt.h1999/12/12 22:46:421.39 --- tclInt.h1999/12/23 06:22:30 *************** *** 792,797 **** --- 792,799 ---- #ifdef MAC_TCL typedef pascal void *(Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientData)); + #elif defined __WIN32__ + typedef unsigned (__stdcall * Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientData)); #else typedef void (Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientData)); #endif Index: generic/tclThreadTest.c =================================================================== RCS file: /cvsroot/tcl/generic/tclThreadTest.c,v retrieving revision 1.5 diff -c -r1.5 tclThreadTest.c *** tclThreadTest.c1999/12/21 23:58:041.5 --- tclThreadTest.c1999/12/23 06:22:32 *************** *** 128,133 **** --- 133,140 ---- #ifdef MAC_TCL static pascal void *NewThread _ANSI_ARGS_((ClientData clientData)); + #elif defined __WIN32__ + static unsigned __stdcallNewThread _ANSI_ARGS_((ClientData clientData)); #else static void NewThread _ANSI_ARGS_((ClientData clientData)); #endif *************** *** 407,412 **** --- 419,426 ---- */ #ifdef MAC_TCL static pascal void * + #elif defined __WIN32__ + static unsigned __stdcall #else static void #endif *************** *** 468,473 **** --- 482,489 ---- Tcl_ExitThread(result); #ifdef MAC_TCL return NULL; + #elif defined __WIN32__ + return 0; #endif } Index: win/tclWinThrd.c =================================================================== RCS file: /cvsroot/tcl/win/tclWinThrd.c,v retrieving revision 1.5 diff -c -r1.5 tclWinThrd.c *** tclWinThrd.c1999/12/22 00:00:171.5 --- tclWinThrd.c1999/12/23 06:22:34 *************** *** 122,129 **** { unsigned long code; ! code = _beginthreadex(NULL, 0, (LPTHREAD_START_ROUTINE) proc, ! (void *)clientData, 0, (unsigned *)idPtr); if (code == 0) { return TCL_ERROR; } else { --- 122,129 ---- { unsigned long code; ! code = _beginthreadex(NULL, 0, proc, (void *)clientData, 0, ! (unsigned *)idPtr); if (code == 0) { return TCL_ERROR; } else { Index: win/tclWinSock.c =================================================================== RCS file: /cvsroot/tcl/win/tclWinSock.c,v retrieving revision 1.18 diff -c -r1.18 tclWinSock.c *** tclWinSock.c1999/12/09 14:44:111.18 --- tclWinSock.c1999/12/23 06:22:39 *************** *** 207,213 **** int direction, ClientData *handlePtr)); static intWaitForSocketEvent _ANSI_ARGS_((SocketInfo *infoPtr, int events, int *errorCodePtr)); ! static DWORD WINAPI SocketThread _ANSI_ARGS_((LPVOID arg)); /* * This structure describes the channel type structure for TCP socket --- 207,213 ---- int direction, ClientData *handlePtr)); static intWaitForSocketEvent _ANSI_ARGS_((SocketInfo *infoPtr, int events, int *errorCodePtr)); ! static unsigned __stdcallSocketThread _ANSI_ARGS_((LPVOID arg)); /* * This structure describes the channel type structure for TCP socket *************** *** 2117,2123 **** *---------------------------------------------------------------------- */ ! static DWORD WINAPI SocketThread(LPVOID arg) { MSG msg; --- 2117,2123 ---- *---------------------------------------------------------------------- */ ! static unsigned __stdcall SocketThread(LPVOID arg) { MSG msg; PatchFiles: generic/tclInt.h generic/tclThreadTest.c win/tclWinThrd.c win/tclWinSock.c This first changes were made, but the SocketThread return decl is still the same (and doesn't complain) in 8.3.1. -- 04/25/2000 hobbs - foundin initialized to: "obsolete: 8.3b1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "49. Threading"
- title initialized to:
tclWinThrd.c swap from CreateThread() to _beginthreadex() [p
- type initialized to: "Bug"
Ticket change [9cac75fecd] (rid 96184) by welch on 2000-10-26 08:10:55:
- closedate changed to: "2000-10-26T01:10:55"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"