diff options
author | Joe Mistachkin <joe@mistachkin.com> | 2004-06-24 01:29:02 (GMT) |
---|---|---|
committer | Joe Mistachkin <joe@mistachkin.com> | 2004-06-24 01:29:02 (GMT) |
commit | 29cd385014b7d98f9e1209da72adade7679e3cf2 (patch) | |
tree | 0b6812d3b041207d523101080164445b27a293f1 /generic/tclIntDecls.h | |
parent | bef0b360b4ebda09db57f196d096f72baf469670 (diff) | |
download | tcl-29cd385014b7d98f9e1209da72adade7679e3cf2.zip tcl-29cd385014b7d98f9e1209da72adade7679e3cf2.tar.gz tcl-29cd385014b7d98f9e1209da72adade7679e3cf2.tar.bz2 |
Version 5 of [Patch 976496]
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r-- | generic/tclIntDecls.h | 141 |
1 files changed, 140 insertions, 1 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index aa6e007..216992b 100644 --- a/generic/tclIntDecls.h +++ b/generic/tclIntDecls.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIntDecls.h,v 1.64 2004/06/07 16:48:45 dgp Exp $ + * RCS: @(#) $Id: tclIntDecls.h,v 1.65 2004/06/24 01:29:03 mistachkin Exp $ */ #ifndef _TCLINTDECLS @@ -969,6 +969,80 @@ EXTERN struct tm * TclpLocaltime _ANSI_ARGS_((CONST time_t * clock)); /* 183 */ EXTERN struct tm * TclpGmtime _ANSI_ARGS_((CONST time_t * clock)); #endif +#ifndef TclThreadStorageLockInit_TCL_DECLARED +#define TclThreadStorageLockInit_TCL_DECLARED +/* 184 */ +EXTERN void TclThreadStorageLockInit _ANSI_ARGS_((void)); +#endif +#ifndef TclThreadStorageLock_TCL_DECLARED +#define TclThreadStorageLock_TCL_DECLARED +/* 185 */ +EXTERN void TclThreadStorageLock _ANSI_ARGS_((void)); +#endif +#ifndef TclThreadStorageUnlock_TCL_DECLARED +#define TclThreadStorageUnlock_TCL_DECLARED +/* 186 */ +EXTERN void TclThreadStorageUnlock _ANSI_ARGS_((void)); +#endif +#ifndef TclThreadStoragePrint_TCL_DECLARED +#define TclThreadStoragePrint_TCL_DECLARED +/* 187 */ +EXTERN void TclThreadStoragePrint _ANSI_ARGS_((FILE * outFile, + int flags)); +#endif +#ifndef TclThreadStorageGetHashTable_TCL_DECLARED +#define TclThreadStorageGetHashTable_TCL_DECLARED +/* 188 */ +EXTERN Tcl_HashTable * TclThreadStorageGetHashTable _ANSI_ARGS_(( + Tcl_ThreadId id)); +#endif +#ifndef TclThreadStorageInit_TCL_DECLARED +#define TclThreadStorageInit_TCL_DECLARED +/* 189 */ +EXTERN Tcl_HashTable * TclThreadStorageInit _ANSI_ARGS_((Tcl_ThreadId id, + void * reserved)); +#endif +#ifndef TclThreadStorageDataKeyInit_TCL_DECLARED +#define TclThreadStorageDataKeyInit_TCL_DECLARED +/* 190 */ +EXTERN void TclThreadStorageDataKeyInit _ANSI_ARGS_(( + Tcl_ThreadDataKey * keyPtr)); +#endif +#ifndef TclThreadStorageDataKeyGet_TCL_DECLARED +#define TclThreadStorageDataKeyGet_TCL_DECLARED +/* 191 */ +EXTERN void * TclThreadStorageDataKeyGet _ANSI_ARGS_(( + Tcl_ThreadDataKey * keyPtr)); +#endif +#ifndef TclThreadStorageDataKeySet_TCL_DECLARED +#define TclThreadStorageDataKeySet_TCL_DECLARED +/* 192 */ +EXTERN void TclThreadStorageDataKeySet _ANSI_ARGS_(( + Tcl_ThreadDataKey * keyPtr, void * data)); +#endif +#ifndef TclFinalizeThreadStorageThread_TCL_DECLARED +#define TclFinalizeThreadStorageThread_TCL_DECLARED +/* 193 */ +EXTERN void TclFinalizeThreadStorageThread _ANSI_ARGS_(( + Tcl_ThreadId id)); +#endif +#ifndef TclFinalizeThreadStorage_TCL_DECLARED +#define TclFinalizeThreadStorage_TCL_DECLARED +/* 194 */ +EXTERN void TclFinalizeThreadStorage _ANSI_ARGS_((void)); +#endif +#ifndef TclFinalizeThreadStorageData_TCL_DECLARED +#define TclFinalizeThreadStorageData_TCL_DECLARED +/* 195 */ +EXTERN void TclFinalizeThreadStorageData _ANSI_ARGS_(( + Tcl_ThreadDataKey * keyPtr)); +#endif +#ifndef TclFinalizeThreadStorageDataKey_TCL_DECLARED +#define TclFinalizeThreadStorageDataKey_TCL_DECLARED +/* 196 */ +EXTERN void TclFinalizeThreadStorageDataKey _ANSI_ARGS_(( + Tcl_ThreadDataKey * keyPtr)); +#endif typedef struct TclIntStubs { int magic; @@ -1173,6 +1247,19 @@ typedef struct TclIntStubs { Tcl_Obj * (*tclDbNewListObjDirect) _ANSI_ARGS_((int objc, Tcl_Obj ** objv, CONST char * file, int line)); /* 181 */ struct tm * (*tclpLocaltime) _ANSI_ARGS_((CONST time_t * clock)); /* 182 */ struct tm * (*tclpGmtime) _ANSI_ARGS_((CONST time_t * clock)); /* 183 */ + void (*tclThreadStorageLockInit) _ANSI_ARGS_((void)); /* 184 */ + void (*tclThreadStorageLock) _ANSI_ARGS_((void)); /* 185 */ + void (*tclThreadStorageUnlock) _ANSI_ARGS_((void)); /* 186 */ + void (*tclThreadStoragePrint) _ANSI_ARGS_((FILE * outFile, int flags)); /* 187 */ + Tcl_HashTable * (*tclThreadStorageGetHashTable) _ANSI_ARGS_((Tcl_ThreadId id)); /* 188 */ + Tcl_HashTable * (*tclThreadStorageInit) _ANSI_ARGS_((Tcl_ThreadId id, void * reserved)); /* 189 */ + void (*tclThreadStorageDataKeyInit) _ANSI_ARGS_((Tcl_ThreadDataKey * keyPtr)); /* 190 */ + void * (*tclThreadStorageDataKeyGet) _ANSI_ARGS_((Tcl_ThreadDataKey * keyPtr)); /* 191 */ + void (*tclThreadStorageDataKeySet) _ANSI_ARGS_((Tcl_ThreadDataKey * keyPtr, void * data)); /* 192 */ + void (*tclFinalizeThreadStorageThread) _ANSI_ARGS_((Tcl_ThreadId id)); /* 193 */ + void (*tclFinalizeThreadStorage) _ANSI_ARGS_((void)); /* 194 */ + void (*tclFinalizeThreadStorageData) _ANSI_ARGS_((Tcl_ThreadDataKey * keyPtr)); /* 195 */ + void (*tclFinalizeThreadStorageDataKey) _ANSI_ARGS_((Tcl_ThreadDataKey * keyPtr)); /* 196 */ } TclIntStubs; #ifdef __cplusplus @@ -1817,6 +1904,58 @@ extern TclIntStubs *tclIntStubsPtr; #define TclpGmtime \ (tclIntStubsPtr->tclpGmtime) /* 183 */ #endif +#ifndef TclThreadStorageLockInit +#define TclThreadStorageLockInit \ + (tclIntStubsPtr->tclThreadStorageLockInit) /* 184 */ +#endif +#ifndef TclThreadStorageLock +#define TclThreadStorageLock \ + (tclIntStubsPtr->tclThreadStorageLock) /* 185 */ +#endif +#ifndef TclThreadStorageUnlock +#define TclThreadStorageUnlock \ + (tclIntStubsPtr->tclThreadStorageUnlock) /* 186 */ +#endif +#ifndef TclThreadStoragePrint +#define TclThreadStoragePrint \ + (tclIntStubsPtr->tclThreadStoragePrint) /* 187 */ +#endif +#ifndef TclThreadStorageGetHashTable +#define TclThreadStorageGetHashTable \ + (tclIntStubsPtr->tclThreadStorageGetHashTable) /* 188 */ +#endif +#ifndef TclThreadStorageInit +#define TclThreadStorageInit \ + (tclIntStubsPtr->tclThreadStorageInit) /* 189 */ +#endif +#ifndef TclThreadStorageDataKeyInit +#define TclThreadStorageDataKeyInit \ + (tclIntStubsPtr->tclThreadStorageDataKeyInit) /* 190 */ +#endif +#ifndef TclThreadStorageDataKeyGet +#define TclThreadStorageDataKeyGet \ + (tclIntStubsPtr->tclThreadStorageDataKeyGet) /* 191 */ +#endif +#ifndef TclThreadStorageDataKeySet +#define TclThreadStorageDataKeySet \ + (tclIntStubsPtr->tclThreadStorageDataKeySet) /* 192 */ +#endif +#ifndef TclFinalizeThreadStorageThread +#define TclFinalizeThreadStorageThread \ + (tclIntStubsPtr->tclFinalizeThreadStorageThread) /* 193 */ +#endif +#ifndef TclFinalizeThreadStorage +#define TclFinalizeThreadStorage \ + (tclIntStubsPtr->tclFinalizeThreadStorage) /* 194 */ +#endif +#ifndef TclFinalizeThreadStorageData +#define TclFinalizeThreadStorageData \ + (tclIntStubsPtr->tclFinalizeThreadStorageData) /* 195 */ +#endif +#ifndef TclFinalizeThreadStorageDataKey +#define TclFinalizeThreadStorageDataKey \ + (tclIntStubsPtr->tclFinalizeThreadStorageDataKey) /* 196 */ +#endif #endif /* defined(USE_TCL_STUBS) && !defined(USE_TCL_STUB_PROCS) */ |