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

Yes, I am working with Gigabit Network.

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

Replies are listed 'Best First'.
Re^21: Monitor list of threads running
by BrowserUk (Patriarch) on Apr 09, 2010 at 19:35 UTC
    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.
      Thanks so much.