Overview
| Artifact ID: | b04022b2fcbd315879e05f386bf45bd630c0bf47100dbf3c36aec68ac3a2fedc |
|---|---|
| Ticket: | 39680865953cce4fa7187d3613ff7707302d31a6
Basic nonblocking write-only refchan hangs |
| User & Date: | pooryorick on 2024-08-14 11:14:40 |
Changes
- icomment:
Ashok, the "working" version of the implementation that you just proposed is exactly the strategy you are advocating against: Continuous event posting on a timer that just keeps rescheduling itself. In contrast, the fix that I produced at the C level does not do this. Instead, it just takes care to propagate the signal that is sent from the refchan by not letting it get swallowed just because an internal buffer got in the way. The issue that is illustrated in this ticket is that the C implementation currently swallows that signal. It's entirely possible to fix this at the C level so that postevent signals sent by a refchan do not get swallowed. I could also complain about "orders of magnitude" of time that I've spent over the years correcting missteps that have been made in Tcl (ahem, the alphabet for strings for Tcl 9, or the numerous bugs that I make sure to diagnose and fix before even reporting them so that others don't have to wast their time on them), but I'm not going to engage in such bellyaching.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"