Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tclWinThrd.c swap from CreateThread() to _beginthreadex()

Closed / Fixed219016ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:09:21
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
welch Closed ticket [219016ffff]. [History diff]2000-10-26 08:33:09
Log in (anonymous is fine) to add a comment.