Overview
| Artifact ID: | 1cd9fff771f8c9cc0cd1f8328c7de9b575bea84d |
|---|---|
| Ticket: | 462317ffffffffffffffffffffffffffffffffff
Notification when there's no data |
| User & Date: | kogorman on 2001-09-18 07:21:28 |
Changes
- icomment:
Logged In: YES user_id=326095 I have been talking with Don Libes. He thinks this is a Tcl problem. I was originally having the problem with the stock Expect from RedHat 7.1, and he got me to try the later release. I can look up details if you really need them. The channel is the pipe to a child of expect, and as far as I know, there's no control at the script level about blocking that. The trace includes all system calls, expect or otherwise, from the given process. I removed some that were too prolix (do you really need to call time() that often? it's 90% of the system calls). Some of the printfs are in expect, some in Tcl. My own guess is that this is only going to be a problem with multiple channels, producing blocks of data bigger than expect's buffer (4096), so that there is data left after a read. Then, as near as I can tell, the timer is immortal and can fire later at an inappropriate time. It won't get a chance if there's only one channel active, because of the details of the code. But with multiple channels operating concurrently, ..... I'll work on __FILE__ and __LINE__, but you know, my printfs are going to make hash of LINE. They already mostly say where they are. Finally, I'm not sure how to look into what's in the tcl buffers. See the attached script. It isn't going to work unless you can run 10 SQL*Plus clients against a TPC database. :o(
- login: "kogorman"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "kogorman"