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

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


Branch: pkgsrc-2014Q3, Version: 0.14, Package name: p5-Mojo-IOLoop-ForkCall-0.14, 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]

Master sites:

SHA1: ef46f01da42d63e0f30a254a9b59860405a929c4
RMD160: 467df172bff77d9a103faeadf75d99f7834d6bb5
Filesize: 8.306 KB

Version history: (Expand)