./devel/p5-Mojo-IOLoop-ForkCall, Execute a code block asynchronously by forking

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2018Q1, Version: 0.19, Package name: p5-Mojo-IOLoop-ForkCall-0.19, Maintainer: wiedi

Asynchronous programming can be benefitial for performance, however
not all functions are written for nonblocking interaction and
external processes almost never are.

By forking the blocking call into a new process, the main thread may
continue to run non-blocking, while the blocking call evaluates.
Mojo::IOLoop::ForkCall manages the forking and will emit an
event (or execute a callback) when the forked process completes.
Return values are serialized and sent from the child to the parent
via an appropriate pipe for your platform.


Required to run:
[lang/perl5] [devel/p5-IO-Pipely]

Master sites:

SHA1: e865951f7dc8ea651df72ce78061c811677d5793
RMD160: 40ea63689c761733857c2566e3b206c2e0187c5d
Filesize: 10.076 KB

Version history: (Expand)