Overview
| Artifact ID: | 4c2ebc249c756bd7ea77ba6be5b5981baf24fcd9 |
|---|---|
| Ticket: | 990500ffffffffffffffffffffffffffffffffff
NotifierThreadProc missing TclpThreadExit at end |
| User & Date: | vasiljevic on 2004-07-16 15:40:39 |
Changes
- icomment:
Logged In: YES user_id=95086 I believe Joe is right. Every thread created by pthread_create should eventually call pthread_exit at the end of its life. Otherwise pthread library leaks. At this particular spot this is not very tragic for tclsh-like applications where main thread and the notifier thread exit just at the end of the app. But in systems loading and finalizing Tcl library as a subsystem, this may pose memory problems (leaks). My oppinion is: go ahead and add the TclpThreadExit at the end.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"