BGS - Background execution of subroutines in child processes. River stage zero No dependents

bgs_call Child process is created for each subroutine, that is prescribed with bgs_call, and it executes within this child process. The subroutine must return either a scalar or a reference! The answer of the subroutine passes to the callback subrout...

KNI/BGS-0.12 - 14 Nov 2017 13:20:28 GMT

BGS::Limit - Background execution of subroutines in child processes with limit of child processes. River stage zero No dependents

KNI/BGS-0.12 - 14 Nov 2017 13:20:28 GMT

BGS::Future - Background execution of subroutines in child processes. River stage zero No dependents

It's BGS wrapper. future or new Call subroutine in child process. my $f = future { "from $$\n" }; or my $f = BGS::Future->new(sub { "from $$\n" }); join Get result. my $r = $f->(); or my $r = $f->join(); cancel Kill child processes. $f->cancel(); $BG...

KNI/BGS-0.12 - 14 Nov 2017 13:20:28 GMT

3 results (0.049 seconds)