diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-27 16:32:05 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-05-27 16:32:05 (GMT) |
| commit | f2ec60553a7e3f8cc433362a672fa9eea014b332 (patch) | |
| tree | aae3b61f0377d6541a1f78db5d2ced74881c2e59 /generic/tclEvent.c | |
| parent | b91a2765aef7499e3bf0ca35d47c6dc068c35ed6 (diff) | |
| parent | bb5d24622ffab4d7e6aaf6dba2086cdc870f8470 (diff) | |
| download | tcl-f2ec60553a7e3f8cc433362a672fa9eea014b332.zip tcl-f2ec60553a7e3f8cc433362a672fa9eea014b332.tar.gz tcl-f2ec60553a7e3f8cc433362a672fa9eea014b332.tar.bz2 | |
merge 8.7
Diffstat (limited to 'generic/tclEvent.c')
| -rw-r--r-- | generic/tclEvent.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 93cf983..913ff0f 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -100,7 +100,7 @@ typedef struct ThreadSpecificData { } ThreadSpecificData; static Tcl_ThreadDataKey dataKey; -#ifdef TCL_THREADS +#if TCL_THREADS typedef struct { Tcl_ThreadCreateProc *proc; /* Main() function of the thread */ ClientData clientData; /* The one argument to Main() */ @@ -1043,7 +1043,7 @@ TclInitSubsystems(void) #if USE_TCLALLOC TclInitAlloc(); /* Process wide mutex init */ #endif -#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC) +#if TCL_THREADS && defined(USE_THREAD_ALLOC) TclInitThreadAlloc(); /* Setup thread allocator caches */ #endif #ifdef TCL_MEM_DEBUG @@ -1220,7 +1220,7 @@ Tcl_Finalize(void) * Close down the thread-specific object allocator. */ -#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC) +#if TCL_THREADS && defined(USE_THREAD_ALLOC) TclFinalizeThreadAlloc(); #endif @@ -1538,7 +1538,7 @@ Tcl_UpdateObjCmd( return TCL_OK; } -#ifdef TCL_THREADS +#if TCL_THREADS /* *---------------------------------------------------------------------- * @@ -1601,7 +1601,7 @@ Tcl_CreateThread( int flags) /* Flags controlling behaviour of the new * thread. */ { -#ifdef TCL_THREADS +#if TCL_THREADS ThreadClientData *cdPtr = ckalloc(sizeof(ThreadClientData)); int result; |
