| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package RPC::Async; | ||
| 5 | |||
| 6 | 1 | our $VERSION = '1.05'; | |
| 7 | |||
| 8 | 1 | 1; | |
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | RPC::Async - Asynchronous RPC framework | ||
| 13 | |||
| 14 | =head1 DESCRIPTION | ||
| 15 | |||
| 16 | This set of module implements remote procedure calls between perl programs. It | ||
| 17 | is special in that control flow does not halt until the call has completed. | ||
| 18 | Instead, the call completes in the background until it eventually returns, | ||
| 19 | triggering a callback function in the client. By using anonymous sub references | ||
| 20 | (closures) in Perl, such control flow can be made to look quite linear despite | ||
| 21 | being non-blocking and interleaved. | ||
| 22 | |||
| 23 | This module uses L<IO::EventMux>, the event-based frontend to L<select(2)>, to | ||
| 24 | do parallel I/O without using threads. Users of this module must use | ||
| 25 | L<IO::EventMux> to control their main loop, but this is still very flexible. | ||
| 26 | |||
| 27 | The two ends of this framework are documented in L<RPC::Async::Client> and | ||
| 28 | L<RPC::Async::Server>. | ||
| 29 | |||
| 30 | =head1 AUTHOR | ||
| 31 | |||
| 32 | Jonas Jensen <jbj@knef.dk>, Troels Liebe Bentsen <tlb@rapanden.dk> | ||
| 33 | |||
| 34 | =head1 COPYRIGHT | ||
| 35 | |||
| 36 | Copyright(C) 2005-2007 Troels Liebe Bentsen | ||
| 37 | |||
| 38 | Copyright(C) 2005-2007 Jonas Jensen | ||
| 39 | |||
| 40 | This library is free software; you can redistribute it and/or modify | ||
| 41 | it under the same terms as Perl itself. | ||
| 42 | |||
| 43 | =cut | ||