Async-Queue

 view release on metacpan or  search on metacpan

t/30-tons_of_sync.t  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use strict;
 
 
sub stack_frame_num {
    my $num = 0;
    while(caller($num)) {
        $num++;
    }
    return $num;
}
 
my $done_callback;
my $stack_frame_threshold = 800;
my $stack_frame_checked = 0;
my $task_num = 1000;
my $task_executed = 0;



( run in 0.602 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )