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

Comparing libev/ev.pod (file contents):
Revision 1.315 by root, Fri Oct 22 09:33:14 2010 UTC vs.
Revision 1.317 by root, Fri Oct 22 09:35:06 2010 UTC

124this argument. 124this argument.
125 125
126=head2 TIME REPRESENTATION 126=head2 TIME REPRESENTATION
127 127
128Libev represents time as a single floating point number, representing 128Libev represents time as a single floating point number, representing
129the (fractional) number of seconds since the (POSIX) epoch (in practise 129the (fractional) number of seconds since the (POSIX) epoch (in practice
130somewhere near the beginning of 1970, details are complicated, don't 130somewhere near the beginning of 1970, details are complicated, don't
131ask). This type is called C<ev_tstamp>, which is what you should use 131ask). This type is called C<ev_tstamp>, which is what you should use
132too. It usually aliases to the C<double> type in C. When you need to do 132too. It usually aliases to the C<double> type in C. When you need to do
133any calculations on it, you should treat it as some floating point value. 133any calculations on it, you should treat it as some floating point value.
134 134
4882 4882
4883=item application 4883=item application
4884 4884
4885In this document, an application is whatever is using libev. 4885In this document, an application is whatever is using libev.
4886 4886
4887=item backend
4888
4889The part of the code dealing with the operating system interfaces.
4890
4887=item callback 4891=item callback
4888 4892
4889The address of a function that is called when some event has been 4893The address of a function that is called when some event has been
4890detected. Callbacks are being passed the event loop, the watcher that 4894detected. Callbacks are being passed the event loop, the watcher that
4891received the event, and the actual event bitset. 4895received the event, and the actual event bitset.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines