Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a15f9208aa9b839b11f5b4a22ffc105cd6d5d65284e91aceb2528e5927e67492
Ticket: eeddb0693a950be980a66de3811630a00c7bab54
TIP #491 implementation has odd #ifdef usage
User & Date: dgp on 2018-05-22 11:56:38
Changes

  1. closedate changed to: "2458260.99766238"
  2. closer changed to: "dgp"
  3. icomment:
    
    Consider this approach. On core-8-branch, put in place
    the simpler scheme dkf is suggesting.
    
    Then for the sake of clean merges, make trunk the same
    everywhere except in tcl.h have a single explicit line:
    
    #define TCL_THREADS 1
    
    Then on the trunk we still have the known condition
    that every file that includes tcl.h has TCL_THREADS
    defined and we need not test for that.  But we have
    also deleted all "easy" ways to call for a thread-disabled
    build.
    
    Over time, all tests for TCL_THREADS should disappear
    from trunk, and as soon as they are all gone, that line
    can go too.
    
    Any troubles with that?
    
  4. login: "dgp"
  5. mimetype: "text/plain"