Overview
| Artifact ID: | 52e546288c8a0adb483a1ff78aa23df791c6c588 |
|---|---|
| Ticket: | 999084ffffffffffffffffffffffffffffffffff
re-entrant Tcl_Finalize() |
| User & Date: | vasiljevic on 2004-07-29 20:04:22 |
Changes
- icomment:
Logged In: YES user_id=95086 I see no obvious problems. A side-effect, though, is that, when Tcl_Finalize is called simultaneously by two threads, both of them will execute exit callbacks. Each exit callback will be run once, but you never know in which thread this may happen. Strictly speaking, this should pose no problems, provided that exit callbacks are really app-wide and do not assume any thread local storage ownerships and such. Actually, they should be designed as such in the first place.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"