Overview
| Comment: | * generic/tclIORChan.c: Fixed a problem with reflected channels. 'chan postevent' is defined to work only from within the interpreter containing the handler command. Sensible, we want only handler commands to use it. It identifies the channel by handle. The channel moves to a different interpreter or thread. The interpreter containing the handler command doesn't know the channel any longer. 'chan postevent' fails, not finding the channel any longer. Uhm. Fixed by creating a second per-interpreter channel table, just for reflected channels, where each interpreter remembers for which reflected channels it has the handler command. This info does not move with the channel itself. The table is updated by 'chan create', and used by 'chan postevent'. * tests/ioCmd.test: Updated the testsuite. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
887972b492c5d1a1f8ed1039ec5e90b3 |
| User & Date: | andreas_kupries on 2007-11-24 00:08:47.000 |
| Other Links: | manifest | tags |
Context
|
2007-11-24
| ||
| 12:57 | Fix stack corruption in [dict append] compiler check-in: 9a9a946951 user: dkf tags: trunk | |
| 00:08 | * generic/tclIORChan.c: Fixed a problem with reflected channels. 'chan postevent' is defined to... check-in: 887972b492 user: andreas_kupries tags: trunk | |
|
2007-11-23
| ||
| 22:11 | Remove #ifdef out accidentally left in check-in: 4cb72318f7 user: dkf tags: trunk | |
Changes
Modified ChangeLog
from [043a0b2536]
to [d2e54da4a3].
[diff]
Modified generic/tclIORChan.c
from [15482a1c3b]
to [86e351d120].
[diff]
Modified tests/ioCmd.test
from [3777068826]
to [734369ccdf].
[diff]