… | |
… | |
68 | package EV; |
68 | package EV; |
69 | |
69 | |
70 | use strict; |
70 | use strict; |
71 | |
71 | |
72 | BEGIN { |
72 | BEGIN { |
73 | our $VERSION = '2.0'; |
73 | our $VERSION = '2.01'; |
74 | use XSLoader; |
74 | use XSLoader; |
75 | XSLoader::load "EV", $VERSION; |
75 | XSLoader::load "EV", $VERSION; |
76 | } |
76 | } |
77 | |
77 | |
78 | @EV::IO::ISA = |
78 | @EV::IO::ISA = |
… | |
… | |
155 | |
155 | |
156 | Returns the set (see C<EV::BACKEND_*> flags) of backends supported by this |
156 | Returns the set (see C<EV::BACKEND_*> flags) of backends supported by this |
157 | instance of EV, the set of recommended backends (supposed to be good) for |
157 | instance of EV, the set of recommended backends (supposed to be good) for |
158 | this platform and the set of embeddable backends (see EMBED WATCHERS). |
158 | this platform and the set of embeddable backends (see EMBED WATCHERS). |
159 | |
159 | |
|
|
160 | =item EV::sleep $seconds |
|
|
161 | |
|
|
162 | Block the process for the given number of (fractional) seconds. |
|
|
163 | |
160 | =item $time = EV::time |
164 | =item $time = EV::time |
161 | |
165 | |
162 | Returns the current time in (fractional) seconds since the epoch. |
166 | Returns the current time in (fractional) seconds since the epoch. |
163 | |
167 | |
164 | =item $time = EV::now |
168 | =item $time = EV::now |