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

Comparing EV/EV.pm (file contents):
Revision 1.102 by root, Mon Sep 8 17:27:42 2008 UTC vs.
Revision 1.103 by root, Thu Oct 2 07:49:09 2008 UTC

130for more info. 130for more info.
131 131
132The loop will automatically be destroyed when it is no longer referenced 132The loop will automatically be destroyed when it is no longer referenced
133by any watcher and the loop object goes out of scope. 133by any watcher and the loop object goes out of scope.
134 134
135Using C<EV::FLAG_FORKCHECK> is recommended, as only the default event loop 135If you are not embedding the loop, then Using C<EV::FLAG_FORKCHECK>
136is protected by this module. 136is recommended, as only the default event loop is protected by this
137module. If you I<are> embedding this loop in the default loop, this is not
138necessary, as C<EV::embed> automatically does the right thing on fork.
137 139
138=item $loop->loop_fork 140=item $loop->loop_fork
139 141
140Must be called after a fork in the child, before entering or continuing 142Must be called after a fork in the child, before entering or continuing
141the event loop. An alternative is to use C<EV::FLAG_FORKCHECK> which calls 143the event loop. An alternative is to use C<EV::FLAG_FORKCHECK> which calls

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines