Overview
| Artifact ID: | 470b28a21eec83cec7120f4f5e3b1017f95128bf |
|---|---|
| Ticket: | 2964425fffffffffffffffffffffffffffffffff
SEGV during make test in ioTrans.test |
| User & Date: | andreas_kupries on 2010-03-06 04:40:03 |
Changes
- icomment:
The thread closing the channel does own it. The ".tf" tests are all about threading. They _move_ the channel to a second thread (inthread helper procedure), which operates on it, including closing. The "ForwardOpToOwnerThread" function should possibly be renamed. The "OwnerThread" is the thread which contains the script-level handler of the transform, because that is the part we cannot move with the channel to the other thread. So the reflected-transform phones home with each operation done in that thread so that the script-level handler in the thread where it was created can do what the user wanted, and then phones the result back. This is described in http://tip.tcl.tk/230 "Interaction with Threads and Other Interpreters".
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"