Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ac6ce15c8177a663f5d5395e7fd80b88addaa767
Ticket: 218255ffffffffffffffffffffffffffffffffff
Tcl_DoOneEvent problems with Posix-Threads
User & Date: nobody on 2000-10-26 00:55:06
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2918 Bug
    Version: 8.2
    SubmitDate: '1999-09-27'
    LastModified: '1999-11-11'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Linux-SuSE
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-11-11'
    
    
    Name: Christian Walling
    
    ReproducibleScript:
    for ( ; ; ) {
      Tcl_DoOneEvent(0);
    }
    
    ObservedBehavior:
    The given Mainloop works fine in a normal C++ Program, but if it is run
    as a seperate thread (i.e with pthread_create) the CPU-Load is at about
    98% (Pentium II 350 MHz).
    
    DesiredBehavior:
    Is there any workaround for this problem ?
    
    Interpreters are designed to work one/thread.  This appears to
    try and split one interp in two threads. 
    -- 11/11/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2"
  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: "49. Threading"
  10. title changed to: "Tcl_DoOneEvent problems with Posix-Threads"
  11. type changed to: "Bug"