. If you need to, then you can throttle back, having only 10 or
15 servers connected at the same time, adding one more for each finished
transfer.
Cheers,
--
Merijn Broeren | We take risks, we know we take them. Therefore, when things
| come out against us, we have no cause
}
write something like this:
sub process_line {
# get kernel, heap, @lines could be in the heap
if (@lines) {
unshift $line;
# process $line
$kernel-yield(process_line, @lines)
}
}
or do a few chunks at a time.
Cheers,
--
Merijn Broeren | Sometime in the middle
status of their calls cannot do so anymore directly. Or you have
to install a SIGCHLD handler yourself. Much of our code has the above
idiom, where we check immediately. Much unhappiness with 0.32 as it
returns -1 now.
Is this a desired change in behaviour?
Cheers,
--
Merijn Broeren
with ActiveState.
Regards,
--
Merijn Broeren | She doesn't want you to understand her. She knows that's
Software Geek | impossible. She just wants you to understand yourself,
| everything else is negotiable.
there
will be leaks all over the place.
Cheers,
--
Merijn Broeren | She doesn't want you to understand her. She knows that's
Software Geek | impossible. She just wants you to understand yourself,
| everything else is negotiable.
once. M.
Cheers,
--
Merijn Broeren | She doesn't want you to understand her. She knows that's
Software Geek | impossible. She just wants you to understand yourself,
| everything else is negotiable.
constant subroutine. If that is
deemed micro optimization or just plain wrong to use cross package
like that, please adjust accordingly. I've been restrained from
renaming it :-)
Comments and most definitely testing very welcome.
Cheers,
--
Merijn Broeren | She doesn't want you to understand