Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: faaf44405e6f92dc992a98c67eb7ea59bdc765d3
Ticket: 219016ffffffffffffffffffffffffffffffffff
tclWinThrd.c swap from CreateThread() to _beginthreadex()
User & Date: nobody on 2000-10-26 01:09:21
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3954 Bug
    Version: 8.3b1
    SubmitDate: '1999-12-29'
    LastModified: '2000-04-25'
    Severity: MED
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    RelatedBugIDs: 3955 3933 3932 3931
    OS: Windows 2000
    FixedDate: '2000-04-25'
    FixedInVersion: 8.3.1
    ClosedDate: '2000-10-25'
    
    
    Name:
    David Gravereaux
    
    Comments:
    I think this is needed to match the prototype change for _beginthreadex().  I'll look into this on my end some more.  thread.test passes fine, but I want to make sure all is well with all that casting going on.
    
    Also, I noticed tclWinThrd.c and .h are are using SCCS.  Could you swap these over to RCS, as the CVS version stamps don't match?
    
    Patch:
    Index: 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 03:48:35
    ***************
    *** 792,797 ****
    --- 792,799 ----
    
      #ifdef MAC_TCL
      typedef pascal void *(Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientData));
    + #elseif __WIN32__
    + typedef __stdcall unsigned (Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientData));
      #else
      typedef void (Tcl_ThreadCreateProc) _ANSI_ARGS_((ClientData clientData));
      #endif
    
    PatchFiles:
    tclInt.h
    
    
    
    Moved to tcl.h and corrected in 8.3.1. 
    -- 04/25/2000 hobbs
    
  4. foundin changed to: "obsolete: 8.3b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "49. Threading"
  10. title changed to:
    tclWinThrd.c swap from CreateThread() to _beginthreadex()
    
  11. type changed to: "Bug"