Overview
| Artifact ID: | 37cda764eb19de93ad613aa3982406e9a66cbe72 |
|---|---|
| Ticket: | 2913585fffffffffffffffffffffffffffffffff
[win32] serial channel blocks indefinitely on write |
| User & Date: | a_kovalenko on 2010-06-18 12:26:38 |
Changes
- icomment:
It turned out that there is a workaround for this bug, namely, (#1) always wait for writable state, using [fileevent], before writing anything to port, (#2) _and_ don't set buffering to none (haven't yet tested what happens if I wait for fileevent and write more than -buffersize; it might as well be important always to write less). I continue to regard this as a bug, though: (#1) that is understandable and (#2) that is rather obscure must be _both_ respected, and the penalty of uclosable channel and unopenable port (forever..err, until the application is restarted) seems cruel and unusual anyway. Documenting requirements (#1) and (#2) would be significantly better than nothing.
- login: "a_kovalenko"
- mimetype: "text/plain"
- username: "a_kovalenko"