Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1da65e50f94bc0f6f840220c9b140ccb72c8b52c
Ticket: 218179ffffffffffffffffffffffffffffffffff
Event-driven Tcl_Main()
User & Date: nobody on 2000-10-26 00:54:12
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2321 RFE
    Version: 8.1.1
    SubmitDate: '1999-07-06'
    LastModified: '1999-08-06'
    Severity: SER
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Solaris
    OSVersion: 7
    Machine: Other
    FixedDate: '2000-10-25'
    ClosedDate: '1999-08-06'
    
    
    Name:
    Q. Alex Zhao
    
    Extensions:
    TclX 8.1.1, Img 1.2
    
    Comments:
    It seems that Tk_Main() can be easily modified to become an event-driven
        Tcl_Main(): just use stderr for error reporting, remove Tk
        initialization, and I like the Tcl way of exiting (eval "exit" instead
        of calling Tcl_Exit).
    
    DesiredBehavior:
    Right now Tcl_Main() is not event-driven. It's useless for building a
        Tcl server. For example, a typical server would need to listen on a few
        network ports, so it's natural to set up a few "fileevent" handlers. But
        Tcl_Main() won't allow multiplexing incoming network packets and console
        input. Tk_Main() is event-driven, but who programs a server that
        requires a connection to X?
    
    
    
    Tcl is event driven if you schedule events and then kick in the
    event loop with a "vwait forever". 
    -- 08/06/1999 hobbs
    
  4. foundin changed to: "final: 8.1.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: "Event-driven Tcl_Main()"
  11. type changed to: "RFE"