diff options
author | welch <welch> | 2000-04-17 20:32:21 (GMT) |
---|---|---|
committer | welch <welch> | 2000-04-17 20:32:21 (GMT) |
commit | 88d769137e19818849c896edc1fad629212e1734 (patch) | |
tree | 3bfadebb521e935a8977c64957d4dcb011fa3f6b /win/tclWinThrd.c | |
parent | b8877f70b31edc02d135d43fdce726fa4b384c6f (diff) | |
download | tcl-88d769137e19818849c896edc1fad629212e1734.zip tcl-88d769137e19818849c896edc1fad629212e1734.tar.gz tcl-88d769137e19818849c896edc1fad629212e1734.tar.bz2 |
Added Tcl_CreateThreadType and TCL_RETURN_THREAD_TYPE
macros for declaring the NewThread callback proc.
Diffstat (limited to 'win/tclWinThrd.c')
-rw-r--r-- | win/tclWinThrd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinThrd.c b/win/tclWinThrd.c index 5f430b2..e3227b1 100644 --- a/win/tclWinThrd.c +++ b/win/tclWinThrd.c @@ -9,7 +9,7 @@ * 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 + * RCS: @(#) $Id: tclWinThrd.c,v 1.7 2000/04/17 20:32:26 welch Exp $ */ #include "tclWinInt.h" @@ -125,8 +125,8 @@ Tcl_CreateThread(idPtr, proc, clientData, stackSize, flags) { unsigned long code; - code = _beginthreadex(NULL, stackSize, (LPTHREAD_START_ROUTINE) proc, - (void *)clientData, 0, (unsigned *)idPtr); + code = _beginthreadex(NULL, stackSize, proc, clientData, 0, + (unsigned *)idPtr); if (code == 0) { return TCL_ERROR; } else { |