in reply to Problem with threads + join
This is a XY Problem. The reason not to simply call $thread->join was that this command reveals error messages like attempted to free unreferenced scalar...
I tested the code that produced the errors, and confirmed them on perl 5.8.8. On 5.10.0 they were fixed.
Now sumanth can't upgrade to 5.10.0, and tries to find a workaround.
While a workaround is perfectly fine (IMHO) when a feature is missing, I think in this case here it is folly, because
So I think to preserve your sanity, dear sumanth, you should find a different solution. Perhaps without threads (maybe forks or non-blocking IO might help?), perhaps with a second perl installation, perhaps with a different programming language.
|
|---|