Overview
| Artifact ID: | b36c0fb4068b28e5de9152b99ce06332f6fb03ed |
|---|---|
| Ticket: | 219292ffffffffffffffffffffffffffffffffff
Wanted: Tcl_OutputBuffered() function |
| User & Date: | nobody on 2000-10-26 05:10:06 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 2336 RFE Version: 8.1 SubmitDate: '1999-07-07' LastModified: '2000-02-05' Severity: MED Status: UnAssn Submitter: techsupp ChangedBy: hobbs OS: Linux-Red Hat Machine: Other FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: D. Richard Hipp DesiredBehavior: The API contains the function Tcl_InputBuffered() which returns the number of bytes currently in the input buffer. But there is no corresponding Tcl_OutputBuffered() to say how many bytes are in the output queue waiting to be trasmitted. I could use such a function to let my Tcl/C application know when it is generating data faster that the consumer can read it, and that it needs to throttle back the rate of data generation. I worked around the problem by only generating data in response to a "fileevent writable" callback. Turns out "fileevent writable" only fires when the output queue is empty. But Tcl_OutputBuffered() would still be nice to have. - foundin changed to: "obsolete: 8.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "62. (unused)"
- title changed to: "Wanted: Tcl_OutputBuffered() function"
- type changed to: "RFE"