Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 91081cf2bafcbcc766711f2046a9d27996a9e35e030f39b10509048872e0a008
Ticket: 39680865953cce4fa7187d3613ff7707302d31a6
Basic nonblocking write-only refchan hangs
User & Date: apnadkarni on 2024-08-14 11:32:47
Changes

  1. icomment:
    Nope. See the delay at the top which allows control of how often the event is scheduled. It's 0 because your code had it as 0. In general, if a channel is capable of continuously sinking data, it is up to the channel to decide how often to generate events. In your original C implementation, it was continuously generating events (a) IRRESPECTIVE of channel state without giving the refchan control of (b) whether it needed to or not and (c) without giving a chance for idle handlers to run (the last of which you *may* have fixed).
    
    Now, perhaps your latest code is doing something in addition. I dunno. As I said, I don't have time to review for 9.0, and think it is risky at this stage to include without a review. The crashes in CI are proof as to why, whether you fix them or not. If someone else can review and finds it worthy, fine. Else 9.0.1.
    
    And your mention of the time you have spent correcting missteps is exactly why significant changes need to be reviewed before commits!
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"