Overview
| Artifact ID: | 8079443a8de636bcaf81d0f69cb090485f021de9 |
|---|---|
| Ticket: | 451328ffffffffffffffffffffffffffffffffff
thread problem with Tcl_GetStringFromObj |
| User & Date: | andreas_kupries on 2001-08-16 08:52:18 |
Changes
- icomment:
Logged In: YES user_id=75003 Tcl follows the one thread per interp model. This means one thread may contain a complete hierarchy of interpreters, but all interpreters in that hierarchy may only be accessed by their thread and _no_ other. For Tcl_Obj's this implies that an object with a refcount > 1 must not be shared between interpreters in different threads. Else the complications mentioned above arise. To access some information in more than one thread it is necessary to duplicate the object in question and then transfer this unshared object via an event to the other thread.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"