Overview
| Artifact ID: | 838f4528a408e54f8b179d88c0df175d0442c97c |
|---|---|
| Ticket: | 770053ffffffffffffffffffffffffffffffffff
Tcl_CreateThread breaks notifier thread refcount |
| User & Date: | vasiljevic on 2004-06-21 18:29:23 |
Changes
- icomment:
Logged In: YES user_id=95086 There is a patch which rectifies this problem. The patch has been taken against the core-8-4-branch. Summary: * renamed Tcl_CreateThread in to platfrom-specific TclpThreadCreate (both win and unix) * added new Tcl_CreateThread in tclEvent.c * added new NewThreadProc call which is used as the bootstrap function for every new thread created by the Tcl_CreateThread. Purpose of this function is to perform the Tcl notifier init for a thread and then jump into the user-supplied thread-start function. If nobody objects, I will commit this to both core-8-4-branch and current head. - login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"