Check-in [f80463ea2a]

Login

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

Overview
Comment:TIP #491 now in voting
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f80463ea2a67814ade531a6cb933200d798654dcbb2f869c7635fa8fd06b1d16
User & Date: jan.nijtmans 2018-05-02 11:53:40.591
Context
2018-05-03
15:47
Add branch-name for ongoing TIP #497 implementation. Other typo. check-in: 981d899cc3 user: jan.nijtmans tags: trunk
2018-05-02
11:53
TIP #491 now in voting check-in: f80463ea2a user: jan.nijtmans tags: trunk
2018-04-25
11:33
Add another advantage (as formulated by Donald G Porter) check-in: 83413b9bcf user: jan.nijtmans tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to index.json.

cannot compute difference between binary files

Changes to index.md.
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<tr class='project projectfinal projectfinal87 project87'>
<td valign='top'><a href='./tip/492.md'>492</a></td>
<td valign='top'>Project</td>
<td valign='top'>8.7</td>
<td valign='top'>Final</td>
<td valign='top'># TIP 492: Introspection for &apos;tk busy&apos;</td>
</tr>
<tr class='project projectdraft projectdraft87 project87'>
<td valign='top'><a href='./tip/491.md'>491</a></td>
<td valign='top'>Project</td>
<td valign='top'>8.7</td>
<td valign='top'>Draft</td>
<td valign='top'># TIP 491: Threading Support: phasing out non-threaded builds</td>
</tr>
<tr class='project projectfinal projectfinal87 project87'>
<td valign='top'><a href='./tip/490.md'>490</a></td>
<td valign='top'>Project</td>
<td valign='top'>8.7</td>
<td valign='top'>Final</td>







|



|







192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<tr class='project projectfinal projectfinal87 project87'>
<td valign='top'><a href='./tip/492.md'>492</a></td>
<td valign='top'>Project</td>
<td valign='top'>8.7</td>
<td valign='top'>Final</td>
<td valign='top'># TIP 492: Introspection for &apos;tk busy&apos;</td>
</tr>
<tr class='invote'>
<td valign='top'><a href='./tip/491.md'>491</a></td>
<td valign='top'>Project</td>
<td valign='top'>8.7</td>
<td valign='top'>Voting</td>
<td valign='top'># TIP 491: Threading Support: phasing out non-threaded builds</td>
</tr>
<tr class='project projectfinal projectfinal87 project87'>
<td valign='top'><a href='./tip/490.md'>490</a></td>
<td valign='top'>Project</td>
<td valign='top'>8.7</td>
<td valign='top'>Final</td>
Changes to tip/491.md.
1
2
3
4
5
6
7
8
9
10
11
12
# TIP 491: Threading Support: phasing out non-threaded builds
	Author:         Jan Nijtmans <[email protected]>
	State:          Draft
	Type:           Project
	Vote:           Pending
	Created:        11-Dec-2017
	Post-History:
	Keywords:       threads
	Tcl-Version:    8.7
-----

# Abstract


|

|







1
2
3
4
5
6
7
8
9
10
11
12
# TIP 491: Threading Support: phasing out non-threaded builds
	Author:         Jan Nijtmans <[email protected]>
	State:          Voting
	Type:           Project
	Vote:           In progress
	Created:        11-Dec-2017
	Post-History:
	Keywords:       threads
	Tcl-Version:    8.7
-----

# Abstract
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
  * Include the following snippet in `tclInt.h`:
  <pre>
     #if TCL\_THREADS && !defined(USE\_THREAD\_ALLOC)
	 #   define USE\_THREAD\_ALLOC 1
	 #endif
  </pre>

This means that the (nmake/autoconf) build systems no longer need to explicitely set those
two options, a threaded build will be the default. Non-threaded builds are still possible,
adding the flag `-DTCL_THREADS=0` to the Makefile. Hopefully this further discourages
non-threaded builds.

  * In the autoconf build system, remove the `--disable-threads` option.

  * In the nmake build system, don't use `t` any longer as suffix, and remove the `nothreads` and `thrdalloc` build options.







|







49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
  * Include the following snippet in `tclInt.h`:
  <pre>
     #if TCL\_THREADS && !defined(USE\_THREAD\_ALLOC)
	 #   define USE\_THREAD\_ALLOC 1
	 #endif
  </pre>

This means that the (nmake/autoconf) build systems no longer need to explicitly set those
two options, a threaded build will be the default. Non-threaded builds are still possible,
adding the flag `-DTCL_THREADS=0` to the Makefile. Hopefully this further discourages
non-threaded builds.

  * In the autoconf build system, remove the `--disable-threads` option.

  * In the nmake build system, don't use `t` any longer as suffix, and remove the `nothreads` and `thrdalloc` build options.