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.25 by root, Sun Apr 28 14:17:59 2013 UTC vs.
Revision 1.26 by root, Sun Apr 28 14:27:11 2013 UTC

1=head1 NAME 1=head1 NAME
2 2
3AnyEvent::Fork::RPC - simple RPC extension for AnyEvent::Fork 3AnyEvent::Fork::RPC - simple RPC extension for AnyEvent::Fork
4
5THE API IS NOT FINISHED, CONSIDER THIS A BETA RELEASE
6 4
7=head1 SYNOPSIS 5=head1 SYNOPSIS
8 6
9 use AnyEvent::Fork::RPC; 7 use AnyEvent::Fork::RPC;
10 # use AnyEvent::Fork is not needed 8 # use AnyEvent::Fork is not needed
28 $cv->recv; 26 $cv->recv;
29 27
30=head1 DESCRIPTION 28=head1 DESCRIPTION
31 29
32This module implements a simple RPC protocol and backend for processes 30This module implements a simple RPC protocol and backend for processes
33created via L<AnyEvent::Fork>, allowing you to call a function in the 31created via L<AnyEvent::Fork> (or L<AnyEvent::Fork::Remote>), allowing you
34child process and receive its return values (up to 4GB serialised). 32to call a function in the child process and receive its return values (up
33to 4GB serialised).
35 34
36It implements two different backends: a synchronous one that works like a 35It implements two different backends: a synchronous one that works like a
37normal function call, and an asynchronous one that can run multiple jobs 36normal function call, and an asynchronous one that can run multiple jobs
38concurrently in the child, using AnyEvent. 37concurrently in the child, using AnyEvent.
39 38
786 785
787=head1 SEE ALSO 786=head1 SEE ALSO
788 787
789L<AnyEvent::Fork>, to create the processes in the first place. 788L<AnyEvent::Fork>, to create the processes in the first place.
790 789
790L<AnyEvent::Fork::Remote>, like above, but helpful for remote processes.
791
791L<AnyEvent::Fork::Pool>, to manage whole pools of processes. 792L<AnyEvent::Fork::Pool>, to manage whole pools of processes.
792 793
793=head1 AUTHOR AND CONTACT INFORMATION 794=head1 AUTHOR AND CONTACT INFORMATION
794 795
795 Marc Lehmann <schmorp@schmorp.de> 796 Marc Lehmann <schmorp@schmorp.de>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines