… | |
… | |
56 | |
56 | |
57 | =over 4 |
57 | =over 4 |
58 | |
58 | |
59 | =item ev_tstamp ev_time () |
59 | =item ev_tstamp ev_time () |
60 | |
60 | |
61 | Returns the current time as libev would use it. |
61 | Returns the current time as libev would use it. Please note that the |
|
|
62 | C<ev_now> function is usually faster and also often returns the timestamp |
|
|
63 | you actually want to know. |
62 | |
64 | |
63 | =item int ev_version_major () |
65 | =item int ev_version_major () |
64 | |
66 | |
65 | =item int ev_version_minor () |
67 | =item int ev_version_minor () |
66 | |
68 | |
… | |
… | |
241 | |
243 | |
242 | =item ev_unloop (loop, how) |
244 | =item ev_unloop (loop, how) |
243 | |
245 | |
244 | Can be used to make a call to C<ev_loop> return early (but only after it |
246 | Can be used to make a call to C<ev_loop> return early (but only after it |
245 | has processed all outstanding events). The C<how> argument must be either |
247 | has processed all outstanding events). The C<how> argument must be either |
246 | C<EVUNLOOP_ONCE>, which will make the innermost C<ev_loop> call return, or |
248 | C<EVUNLOOP_ONE>, which will make the innermost C<ev_loop> call return, or |
247 | C<EVUNLOOP_ALL>, which will make all nested C<ev_loop> calls return. |
249 | C<EVUNLOOP_ALL>, which will make all nested C<ev_loop> calls return. |
248 | |
250 | |
249 | =item ev_ref (loop) |
251 | =item ev_ref (loop) |
250 | |
252 | |
251 | =item ev_unref (loop) |
253 | =item ev_unref (loop) |