ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-Fork-RPC/RPC.pm
(Generate patch)

Comparing AnyEvent-Fork-RPC/RPC.pm (file contents):
Revision 1.2 by root, Wed Apr 17 17:08:16 2013 UTC vs.
Revision 1.3 by root, Wed Apr 17 17:16:48 2013 UTC

248having to load any extra module. They are part of the child-side API of 248having to load any extra module. They are part of the child-side API of
249L<AnyEvent::Fork::RPC>. 249L<AnyEvent::Fork::RPC>.
250 250
251=over 4 251=over 4
252 252
253=item AnyEvent::Fork::RPC::quit
254
255This function can be called to gracefully stop the child process when it
256is idle.
257
258After this function is called, the process stops handling incoming RPC
259requests, but outstanding events and function return values will be sent
260to the parent. When all data has been sent, the process calls C<exit>.
261
262Since the parent might not expect the child to exit at random points in
263time, it is often better to signal the parent by sending an C<event> and
264letting the parent close down the child process.
265
266=item AnyEvent::Fork::RPC::event ... 253=item AnyEvent::Fork::RPC::event ...
267 254
268Send an event to the parent. Events are a bit like RPC calls made by the 255Send an event to the parent. Events are a bit like RPC calls made by the
269child process to the parent, except that there is no notion of return 256child process to the parent, except that there is no notion of return
270values. 257values.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines