… | |
… | |
130 | |
130 | |
131 | =item $loop->loop_fork |
131 | =item $loop->loop_fork |
132 | |
132 | |
133 | Must be called after a fork in the child, before entering or continuing |
133 | Must be called after a fork in the child, before entering or continuing |
134 | the event loop. An alternative is to use C<EV::FLAG_FORKCHECK> which calls |
134 | the event loop. An alternative is to use C<EV::FLAG_FORKCHECK> which calls |
135 | this fucntion automatically, at some performance loss (refer to the libev |
135 | this function automatically, at some performance loss (refer to the libev |
136 | documentation). |
136 | documentation). |
137 | |
137 | |
|
|
138 | =item $loop->loop_verify |
|
|
139 | |
|
|
140 | Calls C<ev_verify> to make internal consistency checks (for debugging |
|
|
141 | libev) and abort the program if any data structures wree found to be |
|
|
142 | corrupted. |
|
|
143 | |
138 | =item $loop = EV::default_loop [$flags] |
144 | =item $loop = EV::default_loop [$flags] |
139 | |
145 | |
140 | Return the default loop (which is a singleton object). |
146 | Return the default loop (which is a singleton object). Since this module |
|
|
147 | already creates the default loop with default flags, specifying flags here |
|
|
148 | will not have any effect unless you destroy the default loop. |
141 | |
149 | |
142 | =back |
150 | =back |
143 | |
151 | |
144 | |
152 | |
145 | =head1 BASIC INTERFACE |
153 | =head1 BASIC INTERFACE |