diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2025-09-23 13:56:19 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2025-09-23 13:56:19 (GMT) |
| commit | 5eef6303a43cd28a2e9a5d06950cb043d70d5b03 (patch) | |
| tree | c4d8d27cf584266bc3d93e8e6ccd0905fa9bfebc /unix/tclUnixThrd.c | |
| parent | 870350df16d510821c22ba192246e39023fbe851 (diff) | |
| parent | 26235348694a0f6683da2232539e966a4a69d7df (diff) | |
| download | tcl-5eef6303a43cd28a2e9a5d06950cb043d70d5b03.zip tcl-5eef6303a43cd28a2e9a5d06950cb043d70d5b03.tar.gz tcl-5eef6303a43cd28a2e9a5d06950cb043d70d5b03.tar.bz2 | |
Merge 9.0. Make the Windows implementation working too
Diffstat (limited to 'unix/tclUnixThrd.c')
| -rw-r--r-- | unix/tclUnixThrd.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c index f4807f4..da88cdb 100644 --- a/unix/tclUnixThrd.c +++ b/unix/tclUnixThrd.c @@ -13,12 +13,6 @@ #include "tclInt.h" -#if defined(HAVE_STDATOMIC_H) && defined(NO_ATOMIC) -/* TODO: for test purposes only, remove this before merge! */ -# undef HAVE_STDATOMIC_H -#endif - - #ifdef HAVE_STDATOMIC_H #include <stdatomic.h> #endif /* HAVE_STDATOMIC_H */ @@ -378,8 +372,8 @@ int 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() */ - size_t stackSize, /* Size of stack for the new thread */ + void *clientData, /* The one argument to Main() */ + size_t stackSize, /* Size of stack for the new thread */ int flags) /* Flags controlling behaviour of the new * thread. */ { @@ -837,7 +831,7 @@ void Tcl_ConditionWait( Tcl_Condition *condPtr, /* Really (pthread_cond_t **) */ Tcl_Mutex *mutexPtr, /* Really (PMutex **) */ - const Tcl_Time *timePtr) /* Timeout on waiting period */ + const Tcl_Time *timePtr) /* Timeout on waiting period */ { pthread_cond_t *pcondPtr; PMutex *pmutexPtr; |
