- or download this
$condvar = AnyEvent->condvar;
for (1..$multiLimit) {
doProcess();
}
$condvar->recv;
- or download this
$condvar->begin;
say "Active ${aval}, Offset ${oval}";
...
doProcess();
};
return 1
- or download this
Active:1, Offset:0
Reading test offset 0 for length 4194303
...
Active:3, Offset:8388608
Reading test offset 8388608 for length 4194303
readData read 12582911