Skip to content
Tcl Source Code History Of Ticket 219081ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 219081ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 219081ffffffffffffffffffffffffffffffffff

  1. Ticket change [0fc02f3bfa] (rid 94848) by nobody on 2000-10-26 01:10:24:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 5097 Bug
      Version: 8.3
      SubmitDate: '2000-04-17'
      LastModified: '2000-04-18'
      Severity: SER
      Status: Released
      Submitter: techsupp
      ChangedBy: hobbs
      OS: All Windows
      FixedDate: '2000-04-18'
      FixedInVersion: 8.3.1
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      David Gravereaux
      
      
      CVS:
      
      Fri, Apr 14, 2000 4am PST
      
      
      ObservedBehavior:
      
      implied __cdecl doesn't match the correct signature for _beginthreadex which should be __stdcall and returns an unsigned int and not void.
      
      
      Patch:
      
      *** generic/tcl.h2000/04/13 02:30:431.68
      
      --- generic/tcl.h2000/04/14 12:01:25
      
      ***************
      
      *** 395,400 ****
      
      --- 395,402 ----
      
      
        #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
      
      
      *** generic/tclThreadTest.c2000/04/09 16:04:191.8
      
      --- generic/tclThreadTest.c2000/04/14 12:01:31
      
      ***************
      
      *** 128,133 ****
      
      --- 128,135 ----
      
      
        #ifdef MAC_TCL
      
        static pascal void *NewThread _ANSI_ARGS_((ClientData clientData));
      
      + #elif defined __WIN32__
      
      + static unsigned __stdcall NewThread _ANSI_ARGS_((ClientData clientData));
      
        #else
      
        static void     NewThread _ANSI_ARGS_((ClientData clientData));
      
        #endif
      
      ***************
      
      *** 408,413 ****
      
      --- 410,417 ----
      
         */
      
        #ifdef MAC_TCL
      
        static pascal void *
      
      + #elif defined __WIN32__
      
      + static unsigned __stdcall
      
        #else
      
        static void
      
        #endif
      
      ***************
      
      *** 469,474 ****
      
      --- 473,480 ----
      
            Tcl_ExitThread(result);
      
        #ifdef MAC_TCL
      
            return NULL;
      
      + #elif defined __WIN32__
      
      +     return 0;
      
        #endif
      
        }
      
        
      
      
      *** win/tclWinThrd.c2000/04/09 16:04:201.6
      
      --- win/tclWinThrd.c2000/04/14 12:01:46
      
      ***************
      
      *** 9,15 ****
      
         * See the file "license.terms" for information on usage and redistribution
      
         * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
      
         *
      
      !  * SCCS:  @(#) tclWinThrd.c 1.13 98/02/18 14:00:23
      
         */
      
      
        #include "tclWinInt.h"
      
      --- 9,15 ----
      
         * See the file "license.terms" for information on usage and redistribution
      
         * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
      
         *
      
      !  * RCS: @(#) $Id:$
      
         */
      
      
        #include "tclWinInt.h"
      
      ***************
      
      *** 125,132 ****
      
        {
      
            unsigned long code;
      
      
      !     code = _beginthreadex(NULL, stackSize, (LPTHREAD_START_ROUTINE) proc,
      
      ! (void *)clientData, 0, (unsigned *)idPtr);
      
            if (code == 0) {
      
        return TCL_ERROR;
      
            } else {
      
      --- 126,133 ----
      
        {
      
            unsigned long code;
      
      
      !     code = _beginthreadex(NULL, stackSize, proc, clientData, 0,
      
      ! (unsigned *)idPtr);
      
            if (code == 0) {
      
        return TCL_ERROR;
      
            } else {
      
      
      PatchFiles:
      
      generic/tcl.h
      
          generic/tclThreadTest.c
      
          win/tclWinThrd.c
      
      
      
      
      This has gone back in, in a working manner. 
      -- 04/18/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to:
      Tcl_CreateThreadProc typedef change from a few days ago need
      
    11. type initialized to: "Bug"
  2. Ticket change [5fc7c47f57] (rid 115875) by welch on 2000-10-26 08:34:55:

    1. closedate changed to: "2000-10-26T01:34:55"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [97dd8e5870] (rid 110510) by dgp on 2001-04-20 02:09:25:

    1. closedate changed to: "2001-04-19T19:09:25"
    2. closer changed to: "dgp"
    3. subsystem changed to: "49. Threading"