Overview
| Artifact ID: | b5833e369fd737b0b6d0055798db5833da71af3c0f366f4dc2592772b5c8de22 |
|---|---|
| Ticket: | 815e2468064b4324bc4b303b9bafd3ef92803c32
tcl crash on channel thread transfer and fileevent writable in place |
| User & Date: | max on 2018-06-08 08:17:01 |
Changes
- icomment:
The fileevent appears to get cleared automatically when transferring the channel, so there is no need to do that manually before the transfer. The critical point for the crash seems to be that a new fileevent is being set up in the receiving thread while the event handler in the sending thread is still running. So, if I just warp the last line of the handler proc in my original script in after idle [list ...] to defer setting up the new event trigger until the old handler has returned, the crash is gone.
- login: "max"
- mimetype: "text/plain"