Path to this page:
Subject: CVS commit: pkgsrc/devel/p5-Mojo-IOLoop-ForkCall
From: Sebastian Wiedenroth
Date: 2014-08-30 12:53:51
Message id: 20140830105351.B4FC396@cvs.netbsd.org
Log Message:
Import p5-Mojo-IOLoop-ForkCall-0.14 as devel/p5-Mojo-IOLoop-ForkCall
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.
Files: