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

Comparing AnyEvent-MP/MP.pm (file contents):
Revision 1.106 by root, Wed Dec 9 14:00:49 2009 UTC vs.
Revision 1.107 by root, Wed Dec 30 07:52:46 2009 UTC

650 650
651=item kil $port[, @reason] 651=item kil $port[, @reason]
652 652
653Kill the specified port with the given C<@reason>. 653Kill the specified port with the given C<@reason>.
654 654
655If no C<@reason> is specified, then the port is killed "normally" (ports 655If no C<@reason> is specified, then the port is killed "normally" -
656monitoring other ports will not necessarily die because a port dies 656monitor callback will be invoked, but the kil will not cause linked ports
657"normally"). 657(C<mon $mport, $lport> form) to get killed.
658 658
659Otherwise, linked ports get killed with the same reason (second form of 659If a C<@reason> is specified, then linked ports (C<mon $mport, $lport>
660C<mon>, see above). 660form) get killed with the same reason.
661 661
662Runtime errors while evaluating C<rcv> callbacks or inside C<psub> blocks 662Runtime errors while evaluating C<rcv> callbacks or inside C<psub> blocks
663will be reported as reason C<< die => $@ >>. 663will be reported as reason C<< die => $@ >>.
664 664
665Transport/communication errors are reported as C<< transport_error => 665Transport/communication errors are reported as C<< transport_error =>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines