in reply to Looking for advice on how to tune stack size for threads
#!/usr/bin/perl use strict; use warnings; use Thread::Stack; my $s = new Thread::Stack; $s->push(qw(thr1 thr2 thr3 thr4 thr5)); print my $size = $s->size, "\n"; $s->pop("thr1"); print $size = $s->size, "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Looking for advice on how to tune stack size for threads
by BrowserUk (Patriarch) on Dec 02, 2010 at 22:07 UTC | |
|
Re^2: Looking for advice on how to tune stack size for threads
by fx (Pilgrim) on Dec 03, 2010 at 12:30 UTC |