diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-10 19:40:31 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-10 19:40:31 (GMT) |
| commit | 6ace68f9923e95a70e34993504c7ca901e253224 (patch) | |
| tree | 21aaab17fefafdb27d0764cacfae684d2a06b6d1 /unix/tclUnixThrd.c | |
| parent | 17b84171a4c3c3872f23bfea14d7e4c014e988b0 (diff) | |
| parent | 7e719795438ad86eff493fcd9f84f325c1a50c99 (diff) | |
| download | tcl-6ace68f9923e95a70e34993504c7ca901e253224.zip tcl-6ace68f9923e95a70e34993504c7ca901e253224.tar.gz tcl-6ace68f9923e95a70e34993504c7ca901e253224.tar.bz2 | |
Merge 8.7
Diffstat (limited to 'unix/tclUnixThrd.c')
| -rw-r--r-- | unix/tclUnixThrd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index 5d357c9..71e451f 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -214,7 +214,7 @@ TclpThreadCreate( Tcl_ThreadId *idPtr, /* Return, the ID of the thread */ Tcl_ThreadCreateProc *proc, /* Main() function of the thread */ void *clientData, /* The one argument to Main() */ - TCL_HASH_TYPE stackSize, /* Size of stack for the new thread */ + size_t stackSize, /* Size of stack for the new thread */ int flags) /* Flags controlling behaviour of the new * thread. */ { @@ -228,7 +228,7 @@ TclpThreadCreate( #ifdef HAVE_PTHREAD_ATTR_SETSTACKSIZE if (stackSize != TCL_THREAD_STACK_DEFAULT) { - pthread_attr_setstacksize(&attr, (size_t)stackSize); + pthread_attr_setstacksize(&attr, stackSize); #ifdef TCL_THREAD_STACK_MIN } else { /* |
