threads - Re: Memory leak, possibly in shared pool

Posted on Sat Sep 16 13:07:11 2006 by ssinyagin in response to 3047 (See the whole thread of 5)
Re: Memory leak, possibly in shared pool

Jerry, thanks a lot for the fix, I'll test it and report the results.

As for the code simplification, this form:

my @cmdlist :shared;

will not work in this module, because I load Threads module via require() after checking that threads are enabled in the Torrus configuration. I checked this before, and ":shared" declaration works only with "use threads", but not with "require threads".

thanks,

stan

Direct Responses: 3078 | Write a response