Overview
| Artifact ID: | 0ed5fb9ca4b86ee7d498bf12b04b14baee3b95af |
|---|---|
| Ticket: | 770053ffffffffffffffffffffffffffffffffff
Tcl_CreateThread breaks notifier thread refcount |
| User & Date: | vasiljevic on 2004-07-16 04:25:11 |
Changes
- closedate changed to: "2004-07-15T21:25:11"
- closer changed to: "vasiljevic"
- icomment:
Logged In: YES user_id=95086 The notifier ref-counting problem is now fixed by conditionaly finalizing the notifier. If the notifier for the thread has never been initialized by a call to TclInitNotifier, it will not be finalized by the call to TclFinalizeNotifier. Simple as that. For this to work, an already existing threadId element of the private TSD key from generic/tclNotify.c is used. This is now fixed in core-8-4-branch and in cvs head. Lets see whose toes we're trampling on now... This one corrects the ref-counting problem but all API users should be aware of the fact that inter-thread communication using Tcl_ThreadAlert() and bros is *not* possible for threads created with Tcl_CreateThread which have no Tcl interpreter assigned.
- login: "vasiljevic"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "vasiljevic"