Tcl package Thread source code

Check-in [593a90d9bc]
Login

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

Overview
Comment:Use the new TCL_MINIMUM_VERSION macro in one additional place missed in the previous check-in.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 593a90d9bcb74c6e462e945dbd6868ec0e50fb77
User & Date: mistachkin 2015-03-27 20:33:42
Context
2015-09-26
02:44
Added a SHED definition check-in: 70528a315b user: seandeelywoods tags: trunk-fork
2015-06-03
21:47
Bump the version number in the code to match configure(.in) check-in: ca155c040e user: andreask tags: trunk
2015-05-25
13:11
Merge trunk check-in: a1bb70903a user: jan.nijtmans tags: novem-support
13:11
merge-mark check-in: 078ff8e546 user: jan.nijtmans tags: novem
2015-05-01
17:17
[a57b6c3fd4] Prevent -eventmark related deadlock. check-in: 12e5e4c993 user: dgp tags: bug-a57b6c3fd4
2015-03-27
20:33
Use the new TCL_MINIMUM_VERSION macro in one additional place missed in the previous check-in. check-in: 593a90d9bc user: mistachkin tags: trunk
2015-03-26
17:00
Revise the compile-time version/feature checking for improved clarity and correctness. check-in: 94b0e5de65 user: mistachkin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/tclThreadInt.h.

162
163
164
165
166
167
168
169
170
171
172
173
174
 * a static link of the thread package (use case: basekits, tclkits,
 * ...)  and the core Tcl is < 8.6 we cannot use TCL_TIP285 to get
 * things done, because USE_TCL_STUBS is not set for static builds,
 * causing the check in threadCmd.c to bomb.
 */

#ifndef TCL_TIP285
# if (TCL_MAJOR_VERSION < 8) || ((TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION < 6))
#   define Tcl_GetErrorLine(interp) (((tclInterpType *)(interp))->errorLine)
# endif
#endif

#endif /* _TCL_THREAD_INT_H_ */







|





162
163
164
165
166
167
168
169
170
171
172
173
174
 * a static link of the thread package (use case: basekits, tclkits,
 * ...)  and the core Tcl is < 8.6 we cannot use TCL_TIP285 to get
 * things done, because USE_TCL_STUBS is not set for static builds,
 * causing the check in threadCmd.c to bomb.
 */

#ifndef TCL_TIP285
# if !TCL_MINIMUM_VERSION(8,6)
#   define Tcl_GetErrorLine(interp) (((tclInterpType *)(interp))->errorLine)
# endif
#endif

#endif /* _TCL_THREAD_INT_H_ */