Tcl Source Code

Check-in [538f98e47a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:remove unused ThreadSpecificData
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: 538f98e47ab462fab7c1ed01c2cf7a057ae70c76
User & Date: jan.nijtmans 2012-04-03 12:18:56
Context
2012-04-03
13:09
Remove the TclpGetTZName implementation for Cygwin (from previous commit) check-in: 3c8544ca3e user: jan.nijtmans tags: core-8-5-branch
12:22
make genstubs check-in: edf539c57d user: dgp tags: core-8-4-branch
12:18
remove unused ThreadSpecificData check-in: 538f98e47a user: jan.nijtmans tags: core-8-4-branch
11:55
cleanup tclInt.decls to have the same form as Tcl 8.5/8.6, so a diff can show us the real signature ... check-in: 3695c2dd85 user: jan.nijtmans tags: core-8-4-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tclStubInit.c.

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#define TclWinSetInterfaces (void (*) (int)) doNothing
#define TclWinAddProcess (void (*) (void *, unsigned int)) doNothing
#define TclWinFlushDirtyChannels doNothing
#define TclWinResetInterfaces doNothing

static Tcl_Encoding winTCharEncoding;

typedef struct ThreadSpecificData {
    char tzName[64];		/* Time zone name */
} ThreadSpecificData;
static Tcl_ThreadDataKey dataKey;

static int
TclWinGetPlatformId()
{
    /* Don't bother to determine the real platform on cygwin,
     * because VER_PLATFORM_WIN32_NT is the only supported platform */
    return 2; /* VER_PLATFORM_WIN32_NT */;
}







<
<
<
<
<







72
73
74
75
76
77
78





79
80
81
82
83
84
85
#define TclWinSetInterfaces (void (*) (int)) doNothing
#define TclWinAddProcess (void (*) (void *, unsigned int)) doNothing
#define TclWinFlushDirtyChannels doNothing
#define TclWinResetInterfaces doNothing

static Tcl_Encoding winTCharEncoding;






static int
TclWinGetPlatformId()
{
    /* Don't bother to determine the real platform on cygwin,
     * because VER_PLATFORM_WIN32_NT is the only supported platform */
    return 2; /* VER_PLATFORM_WIN32_NT */;
}