Overview
| Artifact ID: | d421fd4eaf8e4646110d896c1d7decf17cd6e3e32cb5fd7d0fe311379bbf8a7e |
|---|---|
| Ticket: | eeddb0693a950be980a66de3811630a00c7bab54
TIP #491 implementation has odd #ifdef usage |
| User & Date: | jan.nijtmans on 2018-05-21 08:11:00 |
Changes
- closedate changed to: "2458259.84097813"
- closer changed to: "jan.nijtmans"
- icomment:
This is on purpose. It makes Tcl build also without TCL_THREADS defined, as is done in Tcl 9. Otherwise all #ifdef's regarding TCL_THREADS would be different in core-8-branch and trunk, which only increases the possibility of future merge conflicts. Actually, I misplaced one #endif in tcl.h (fixed now), which demonstrates how Tcl can build WITHOUT TCL_THREADS defined. So, yes, it makes all #ifdefs somewhat more complicated. But that doesn't really matter because in Tcl 9 we should gradually remove all of them anyway. (I don't want to do it yet, not before Tcl 8.7 is finally released, because there might be protests regarding non-threaded builds. So - for now - I want to keep Tcl building with TCL_THREADS=0)
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"