in reply to Re^2: threads causing memory leak
in thread threads causing memory leak
I think you really need to do a $thread->join at the end of your subroutine.
But instead of polling, I would have the thread send a (Windows) message to the main thread to tell the main thread/window that it can now fetch the data and update things.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: threads causing memory leak
by holli (Abbot) on Sep 11, 2010 at 13:45 UTC |