in reply to Re^20: Monitor list of threads running
in thread Monitor list of threads running

do you set your threads to $old_size = threads->set_stack_size(4096);?

Effectively yes. Though I do it in a different way. My advice to you would be to use:

use threads ('stack_size' => 64 * 1024 );

Doing it this way means you only need to do it once at the top of your program.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"

Replies are listed 'Best First'.
Re^22: Monitor list of threads running
by mr_p (Scribe) on Apr 09, 2010 at 21:34 UTC
    Thanks so much.