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

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


Branch: pkgsrc-2016Q3, Version: 0.17nb2, Package name: p5-Mojo-IOLoop-ForkCall-0.17nb2, 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 build:
[devel/p5-Module-Build]

Master sites:

SHA1: 8658ef30184f9922f9423d3281675a317b118eef
RMD160: b249b8e7112b90b752f9b364ea04e1622fc0c9b0
Filesize: 9.885 KB

Version history: (Expand)