|
2001-04-26
| ||
| 05:03 | • Closed ticket [418425ffff]: Add TCL_THREADS to tclConfig.sh. plus 7 other ch... artifact: 36e9ee3ae8 user: mdejong | |
|
2001-04-25
| ||
| 05:13 | • Ticket [418425ffff]: 5 changes artifact: 720d1f3732 user: hobbs | |
|
2001-04-24
| ||
| 09:49 | • Ticket [418425ffff]: 4 changes artifact: e578f188d0 user: mdejong | |
| 09:49 | • Add attachment threads.patch to ticket [418425ffff] artifact: 8b5a7d2a19 user: mdejong | |
| 02:24 | • New ticket [418425ffff] Add TCL_THREADS to tclConfig.sh.. artifact: cf8eef15b1 user: mdejong | |
Add TCL_THREADS to tclConfig.sh.
Closed / Accepted418425ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2001-04-24 02:24:02
Here is a patch to the current CVS that will add the a TCL_THREADS variable to the generated tclConfig.sh file. This will provide a way for an extension to find out if Tcl was compiled with thread support. It may not be possible to run some extensions without a thread enabled Tcl core, Tcl Blend is a good example. This change means the error condition of not compiling Tcl with --enable-threads can be detected when the extension is configured.
mdejongplain2001-04-24 09:49:25
File Added - 5660: threads.patch
hobbsplain2001-04-25 05:13:19
Logged In: YES user_id=72656 In the unix/tcl.m4, don't we need just one AC_SUBST outside of the if/else? I think this should go in. Tcl also defines "tcl_platform (threads)", but the way it does it is to only set it to one if we are a threaded build. The var should always exist, and be set to 0/1 depending on the build. We should really have most of tclConfig.sh set in tcl_platform (or a new ::tcl::build var). Anyway, that's an aside to the fact that this is a step in the right direction.
mdejongplain2001-04-26 05:03:17
Logged In: YES user_id=90858 I made the change you suggested to the AC_SUBST() and checked the patch in.
Log in (anonymous is fine) to add a comment.
Attachments:
- threads.patch [download] added by mdejong on 2001-04-24 09:49:25. [details]