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

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


Branch: pkgsrc-2015Q1, Version: 0.16, Package name: p5-Mojo-IOLoop-ForkCall-0.16, 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:
[devel/p5-IO-Pipely]

Required to build:
[devel/p5-Module-Build]

Master sites:

SHA1: 56717c794c03fc5d93480f856a1996b1741bda96
RMD160: 46859df36da48f1d9eda8686d2e4c7858dc7a8d0
Filesize: 9.784 KB

Version history: (Expand)