Overview
| Artifact ID: | 2c9dd1e1da75223c4a98e22269187690cef80c6e |
|---|---|
| Ticket: | 451328ffffffffffffffffffffffffffffffffff
thread problem with Tcl_GetStringFromObj |
| User & Date: | stevenashe on 2001-08-15 21:42:49 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Hello. Might there is a problem with Tcl_GetString[FromObj]? As the code [but not the man page :-( ] indicates, the result is transient, pending some other call that changes the internal representation in the object. In a preemptive threaded environment, that "other call" can happen asynchronously, meaning that the return value from Tcl_GetStringFromObj is guaranteed valid at NO time (!); there is no guarantee the user can even copy the data. Either I'm being stupid, or this would seem to be something of a problem.
- foundin changed to: "obsolete: 8.4a3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "stevenashe"
- subsystem changed to: "10. Objects"
- title changed to: "thread problem with Tcl_GetStringFromObj"
- type changed to: "Bug"