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
- closer changed to: "nobody"
- 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.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "None"
- status changed to: "Open"