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

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

62 62
63 // unloop was called, so exit 63 // unloop was called, so exit
64 return 0; 64 return 0;
65 } 65 }
66 66
67=head1 DESCRIPTION 67=head1 ABOUT THIS DOCUMENT
68
69This document documents the libev software package.
68 70
69The newest version of this document is also available as an html-formatted 71The newest version of this document is also available as an html-formatted
70web page you might find easier to navigate when reading it for the first 72web page you might find easier to navigate when reading it for the first
71time: L<http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod>. 73time: L<http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod>.
74
75While this document tries to be as complete as possible in documenting
76libev, its usage and the rationale behind its design, it is not a tutorial
77on event-based programming, nor will it introduce event-based programming
78with libev.
79
80Familarity with event based programming techniques in general is assumed
81throughout this document.
82
83=head1 ABOUT LIBEV
72 84
73Libev is an event loop: you register interest in certain events (such as a 85Libev is an event loop: you register interest in certain events (such as a
74file descriptor being readable or a timeout occurring), and it will manage 86file descriptor being readable or a timeout occurring), and it will manage
75these event sources and provide your program with events. 87these event sources and provide your program with events.
76 88
1096or might not have been clamped to the valid range. 1108or might not have been clamped to the valid range.
1097 1109
1098The default priority used by watchers when no priority has been set is 1110The default priority used by watchers when no priority has been set is
1099always C<0>, which is supposed to not be too high and not be too low :). 1111always C<0>, which is supposed to not be too high and not be too low :).
1100 1112
1101See L<WATCHER PRIORITIES>, below, for a more thorough treatment of 1113See L<WATCHER PRIORITY MODELS>, below, for a more thorough treatment of
1102priorities. 1114priorities.
1103 1115
1104=item ev_invoke (loop, ev_TYPE *watcher, int revents) 1116=item ev_invoke (loop, ev_TYPE *watcher, int revents)
1105 1117
1106Invoke the C<watcher> with the given C<loop> and C<revents>. Neither 1118Invoke the C<watcher> with the given C<loop> and C<revents>. Neither

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines