Tcl package Thread source code

Changes On Branch bug-3562640
Login

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

Changes In Branch bug-3562640 Excluding Merge-Ins

This is equivalent to a diff from 1c6fcfce9e to f44e3c8af4

2012-11-13
11:00
AOL/Naviserver fix check-in: 7975acc2c4 user: jan.nijtmans tags: trunk
2012-11-12
11:30
MAJOR -> MINOR Closed-Leaf check-in: f44e3c8af4 user: jan.nijtmans tags: bug-3562640
11:22
merge trunk check-in: 754dd869cf user: jan.nijtmans tags: bug-3562640
11:15
Unlocks threadMutex if ThreadCancel is not supported on current core. check-in: 1c6fcfce9e user: zoran tags: trunk
09:28
merge-mark rc branch to trunk (indicating that the 2.7b1 -> 2.7.0 renaming is already done on trunk now) check-in: 52351234e3 user: jan.nijtmans tags: trunk

Changes to Makefile.in.

150
151
152
153
154
155
156
157
158
159
160
161
162
163
164

CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl
CLEANFILES	= @CLEANFILES@

CPPFLAGS	= @CPPFLAGS@
LIBS		= @PKG_LIBS@ @LIBS@
AR		= @AR@
CFLAGS		= @CFLAGS@ -DUSE_INTERP_ERRORLINE
COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)

#========================================================================
# Start of user-definable TARGETS section
#========================================================================

#========================================================================







|







150
151
152
153
154
155
156
157
158
159
160
161
162
163
164

CONFIG_CLEAN_FILES = Makefile pkgIndex.tcl
CLEANFILES	= @CLEANFILES@

CPPFLAGS	= @CPPFLAGS@
LIBS		= @PKG_LIBS@ @LIBS@
AR		= @AR@
CFLAGS		= @CFLAGS@
COMPILE		= $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)

#========================================================================
# Start of user-definable TARGETS section
#========================================================================

#========================================================================

Changes to generic/tclThreadInt.h.

103
104
105
106
107
108
109
110
111
112
113
114
115
116
} NsThreadInterpData;

/*
 * Handle binary compatibility regarding
 * Tcl_GetErrorLine in 8.x
 * See Tcl bug #3562640.
 */
#if (TCL_MAJOR_VERSION == 8)
# undef Tcl_GetErrorLine
# define Tcl_GetErrorLine(interp) ((interp)->errorLine)
#endif


#endif /* _TCL_THREAD_INT_H_ */







|
<





103
104
105
106
107
108
109
110

111
112
113
114
115
} NsThreadInterpData;

/*
 * Handle binary compatibility regarding
 * Tcl_GetErrorLine in 8.x
 * See Tcl bug #3562640.
 */
#if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6)

# define Tcl_GetErrorLine(interp) ((interp)->errorLine)
#endif


#endif /* _TCL_THREAD_INT_H_ */

Changes to win/makefile.vc.

225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
### Warnings are too many, can't support warnings into errors.
cdebug	= -Zi -Od $(DEBUGFLAGS)
!else
cdebug	= -Zi -W3 $(DEBUGFLAGS)
!endif

### Declarations common to all compiler options
cwarn = $(WARNINGS) -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE -D USE_INTERP_ERRORLINE
cflags = -nologo -c $(COMPILERFLAGS) $(cwarn) -Fp$(TMP_DIR)^\

!if $(MSVCRT)
!if $(DEBUG) && !$(UNCHECKED)
crt = -MDd
!else
crt = -MD







|







225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
### Warnings are too many, can't support warnings into errors.
cdebug	= -Zi -Od $(DEBUGFLAGS)
!else
cdebug	= -Zi -W3 $(DEBUGFLAGS)
!endif

### Declarations common to all compiler options
cwarn = $(WARNINGS) -D _CRT_SECURE_NO_DEPRECATE -D _CRT_NONSTDC_NO_DEPRECATE
cflags = -nologo -c $(COMPILERFLAGS) $(cwarn) -Fp$(TMP_DIR)^\

!if $(MSVCRT)
!if $(DEBUG) && !$(UNCHECKED)
crt = -MDd
!else
crt = -MD