Overview
| Artifact ID: | 2ae4e670f087a29379a43448805d32d3584ec092 |
|---|---|
| Ticket: | 1323992fffffffffffffffffffffffffffffffff
socket.test failures |
| User & Date: | vasiljevic on 2005-10-14 23:43:54 |
Changes
- icomment:
Logged In: YES user_id=95086 Ah! This is what u mean... I see... Well, to be honest, this would do the trick allright, but it would need to be heavily documented in the Tcl_CCH API, i.e: Tcl_ClearChannelHandlers removes all channelhandlers and event scripts associated with the specified channel, thus shutting down all event processing for this channel. It will however NOT disable events in the event queue of this thread waiting to fire. If you are calling this function before Tcl_CutChannel in order cut the channel from the current thread, you will need to make sure those events are either processed or discarded. Otherwise you are risking late references to an already cut'ed channel which will result in memory corruption. A kind of above thing should be present in the Tcl_CCH manpage. Hm... not that nice for an API. But I understand this is as far as we can get w/o turning everything upside down. OK. I can live with that.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"