Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 52572c73d73b27d7257161adf3ac026a96057fbf54b8f30c59114e77eb8d77b8
Ticket: de232b49f26da1c18e07513d4c7caa203cd27910
write-only nonblocking refchan and Tcl internal buffers
User & Date: pooryorick on 2024-06-03 08:14:23
Changes

  1. closer changed to: "nobody"
  2. icomment:
    Ashok has gotten his facts wrong.  I'll copy here one of my replies from
    to the mailing list.
    
    <code>chan postevent</code> is the mechanism provided for a refchan to
    notifiy Tcl of events on the channel.  At the C level, the mechanism
    provided to an event source for this purpose is
    <code>Tcl_QueueEvent()</code>, which places an event notification on the
    event queue.  In other words, <code>Tcl_QueueEvent()</code> operates
    asynchronously by letting the event queue mediate notification.  Since
    <code>Tcl_QueueEvent()</code> is asynchronous,  <code>chan
    postevent</code> is clearly also intended to be asynchronous.  Even the
    name "postevent" implies that.  The command posts an event.  And where
    does it post the event to?  To the event queue of course.
    
  3. login: "pooryorick"
  4. mimetype: "text/x-fossil-wiki"
  5. resolution changed to: "None"
  6. status changed to: "Open"