Overview
| Artifact ID: | 7367ba4c3437de1dcd787160d6c4b04e68d4c83f |
|---|---|
| Ticket: | 987512ffffffffffffffffffffffffffffffffff
mem-leak in thread::send -async |
| User & Date: | vasiljevic on 2004-07-10 21:53:37 |
Changes
- icomment:
Logged In: YES user_id=95086 Let us first clarify this: thread::send $thid -async "thread::release" is wrong, hence you never release the thread actually. You should have written: thread::send -async $thid "thread::release" But, it is perfectly sufficient to call: thread::release $thid from the main thread, i.e. w/o posting an async event to the worker thread. Now, if you modify your test-bed and run again, the memory should be released. Each thread cleans-up its unserviced events on exit so I should not expect any problems there. Otherwise we'll have to dig into more deeply. Tell me what u get.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"