… | |
… | |
75 | |
75 | |
76 | no warnings; |
76 | no warnings; |
77 | use strict; |
77 | use strict; |
78 | |
78 | |
79 | BEGIN { |
79 | BEGIN { |
80 | our $VERSION = '3.431'; |
80 | our $VERSION = '3.44'; |
81 | use XSLoader; |
81 | use XSLoader; |
82 | XSLoader::load "EV", $VERSION; |
82 | XSLoader::load "EV", $VERSION; |
83 | } |
83 | } |
84 | |
84 | |
85 | @EV::IO::ISA = |
85 | @EV::IO::ISA = |
… | |
… | |
130 | for more info. |
130 | for more info. |
131 | |
131 | |
132 | The loop will automatically be destroyed when it is no longer referenced |
132 | The loop will automatically be destroyed when it is no longer referenced |
133 | by any watcher and the loop object goes out of scope. |
133 | by any watcher and the loop object goes out of scope. |
134 | |
134 | |
135 | Using C<EV::FLAG_FORKCHECK> is recommended, as only the default event loop |
135 | If you are not embedding the loop, then Using C<EV::FLAG_FORKCHECK> |
136 | is protected by this module. |
136 | is recommended, as only the default event loop is protected by this |
|
|
137 | module. If you I<are> embedding this loop in the default loop, this is not |
|
|
138 | necessary, 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 | |
140 | Must be called after a fork in the child, before entering or continuing |
142 | Must be called after a fork in the child, before entering or continuing |
141 | the event loop. An alternative is to use C<EV::FLAG_FORKCHECK> which calls |
143 | the event loop. An alternative is to use C<EV::FLAG_FORKCHECK> which calls |