Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dc33066b251bb43bcdd2715473ef9bb0a2b1932c
Ticket: 218321ffffffffffffffffffffffffffffffffff
libtcl8.2.so is not "thread enabled"
User & Date: nobody on 2000-10-26 00:56:08
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3828 Bug
    Version: 1.3
    SubmitDate: '1999-12-09'
    LastModified: '1999-12-09'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: Solaris (SunOS 5.6)
    Machine: Sparc Station 5, Ultra 5 & Ultra 10
    FixedDate: '2000-10-25'
    ClosedDate: '1999-12-09'
    
    
    Name:
    LAUMOND Marc
    
    ReproducibleScript:
    parray tcl_platform
    => there is no "tcl_platform(threaded) = 1" element
    
    => The libtcl.8.2.so library included in the TclPro1.3 binary package is not compiled with the "--enable-threads" option.
    
    ObservedBehavior:
    I develop a reentrant Tcl extension wich makes use of several threads to handle with some external events. This Tcl extension is likely to be used in multi-threaded processes, each thread possibly having one or more Tcl_Interp. Each event has to be queued in the Tcl_EventQueue of the thread associated to the target Tcl_Interp.
    With the current libtcl8.2.so of TclPro, it is not possible to have a good behaviour for Tcl_ThreadAlert(), Tcl_ThreadQueueEvent() or Tcl_GetCurrentThread()...
    
    WORKAROUND: I use a libtcl8.2.so library built from the public tcl/tk sources and compiled with the "--enable-threads" option.
    
    DesiredBehavior:
    parray tcl_platform 
    => tcl_platform(thraeded) = 1
    
    
    
    This is not a bug, the TclPro build is not intended to be built
    with threads.  If the user purchases the system, we will provide
    binaries, or the user can roll their own, as mentioned in the
    work-around.  Threads are not default, because most people would
    not want them, and it won't work with Tk on Unix systems. 
    -- 12/09/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "libtcl8.2.so is not "thread enabled""
  11. type changed to: "Bug"