ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.pod
(Generate patch)

Comparing libev/ev.pod (file contents):
Revision 1.236 by root, Thu Apr 16 07:56:05 2009 UTC vs.
Revision 1.237 by root, Thu Apr 16 07:58:03 2009 UTC

122name C<loop> (which is always of type C<ev_loop *>) will not have 122name C<loop> (which is always of type C<ev_loop *>) will not have
123this argument. 123this argument.
124 124
125=head2 TIME REPRESENTATION 125=head2 TIME REPRESENTATION
126 126
127Libev represents time as a single floating point number, representing the 127Libev represents time as a single floating point number, representing
128(fractional) number of seconds since the (POSIX) epoch (somewhere near 128the (fractional) number of seconds since the (POSIX) epoch (somewhere
129the beginning of 1970, details are complicated, don't ask). This type is 129near the beginning of 1970, details are complicated, don't ask). This
130called C<ev_tstamp>, which is what you should use too. It usually aliases 130type is called C<ev_tstamp>, which is what you should use too. It usually
131to the C<double> type in C, and when you need to do any calculations on 131aliases to the C<double> type in C. When you need to do any calculations
132it, you should treat it as some floating point value. Unlike the name 132on it, you should treat it as some floating point value. Unlike the name
133component C<stamp> might indicate, it is also used for time differences 133component C<stamp> might indicate, it is also used for time differences
134throughout libev. 134throughout libev.
135 135
136=head1 ERROR HANDLING 136=head1 ERROR HANDLING
137 137

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines