Anyone got any idea how I can force the GC to clean up my threads properly?Send in patches!
I am only half kidding. Or maybe not at all. While there might be all kinds of problems with your code (or not, but there's nothing to inspect), Perl threads have all kinds of problems. Memory leaks belong to those. I do suggest you upgrade from 5.8.5 to 5.8.7. While it seems trivial, it's just two maintenance releases from 5.8.5 to 5.8.7, many of the changes between 5.8.5 and 5.8.7 have to do with threads.
And to answer your question, you cannot tickle the garbage collector from within Perl - other than reducing the reference count of your values to 0.
In reply to Re: Gregorian Garbage Collection...
by Perl Mouse
in thread Gregorian Garbage Collection...
by edwar64896
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |