Overview
| Artifact ID: | b7d2e6fea80e7063dc8a7ab3d67b35a8fd48d19d |
|---|---|
| Ticket: | 653218ffffffffffffffffffffffffffffffffff
Channels CloseProc() not called on close |
| User & Date: | dkf on 2003-01-07 17:59:04 |
Changes
- icomment:
Logged In: YES user_id=79902 There are several possible desired behaviours for what should happen on closing of a serial channel, but I think these are the interesting cases: wait until all OS buffers are empty and reset to initial state discard all pending output (including OS level) and reset to init. leave channel in *current* state (I'll not specify what happens to the OS buffers in that last case as I believe that typically in that case, there won't be much data in the buffers anyway!) IIRC, right now we just support the first of those, and we know that selection of the right behaviour can't be done automatically (we don't want to discard debug info!) so that calls for a suitable [fconfigure] option. Which means a TIP. Which I've not had time to write. (And I'm not certain how -blocking interacts with this; the buffers in question are in the OS, not Tcl.)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"