… | |
… | |
773 | |
773 | |
774 | Of course, this might be blocking if you pass a lot of file descriptors, |
774 | Of course, this might be blocking if you pass a lot of file descriptors, |
775 | so you might want to look into L<AnyEvent::FDpasser> which can handle the |
775 | so you might want to look into L<AnyEvent::FDpasser> which can handle the |
776 | gory details. |
776 | gory details. |
777 | |
777 | |
|
|
778 | =head1 EXCEPTIONS |
|
|
779 | |
|
|
780 | There are no provisions whatsoever for catching exceptions at this time - |
|
|
781 | in the child, exeptions might kill the process, causing calls to be lost |
|
|
782 | and the parent encountering a fatal error. In the parent, exceptions in |
|
|
783 | the result callback will not be caught and cause undefined behaviour. |
|
|
784 | |
778 | =head1 SEE ALSO |
785 | =head1 SEE ALSO |
779 | |
786 | |
780 | L<AnyEvent::Fork>, to create the processes in the first place. |
787 | L<AnyEvent::Fork>, to create the processes in the first place. |
781 | |
788 | |
782 | L<AnyEvent::Fork::Pool>, to manage whole pools of processes. |
789 | L<AnyEvent::Fork::Pool>, to manage whole pools of processes. |