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

Comparing libev/ev.pod (file contents):
Revision 1.55 by root, Tue Nov 27 20:38:07 2007 UTC vs.
Revision 1.56 by root, Wed Nov 28 11:15:55 2007 UTC

2014 2014
2015=item EV_USE_DEVPOLL 2015=item EV_USE_DEVPOLL
2016 2016
2017reserved for future expansion, works like the USE symbols above. 2017reserved for future expansion, works like the USE symbols above.
2018 2018
2019=item EV_USE_INOTIFY
2020
2021If defined to be C<1>, libev will compile in support for the Linux inotify
2022interface to speed up C<ev_stat> watchers. Its actual availability will
2023be detected at runtime.
2024
2019=item EV_H 2025=item EV_H
2020 2026
2021The name of the F<ev.h> header file used to include it. The default if 2027The name of the F<ev.h> header file used to include it. The default if
2022undefined is C<< <ev.h> >> in F<event.h> and C<"ev.h"> in F<ev.c>. This 2028undefined is C<< <ev.h> >> in F<event.h> and C<"ev.h"> in F<ev.c>. This
2023can be used to virtually rename the F<ev.h> header file in case of conflicts. 2029can be used to virtually rename the F<ev.h> header file in case of conflicts.
2078=item EV_PID_HASHSIZE 2084=item EV_PID_HASHSIZE
2079 2085
2080C<ev_child> watchers use a small hash table to distribute workload by 2086C<ev_child> watchers use a small hash table to distribute workload by
2081pid. The default size is C<16> (or C<1> with C<EV_MINIMAL>), usually more 2087pid. The default size is C<16> (or C<1> with C<EV_MINIMAL>), usually more
2082than enough. If you need to manage thousands of children you might want to 2088than enough. If you need to manage thousands of children you might want to
2083increase this value. 2089increase this value (I<must> be a power of two).
2090
2091=item EV_INOTIFY_HASHSIZE
2092
2093C<ev_staz> watchers use a small hash table to distribute workload by
2094inotify watch id. The default size is C<16> (or C<1> with C<EV_MINIMAL>),
2095usually more than enough. If you need to manage thousands of C<ev_stat>
2096watchers you might want to increase this value (I<must> be a power of
2097two).
2084 2098
2085=item EV_COMMON 2099=item EV_COMMON
2086 2100
2087By default, all watchers have a C<void *data> member. By redefining 2101By default, all watchers have a C<void *data> member. By redefining
2088this macro to a something else you can include more and other types of 2102this macro to a something else you can include more and other types of
2148 2162
2149=item Starting io/check/prepare/idle/signal/child watchers: O(1) 2163=item Starting io/check/prepare/idle/signal/child watchers: O(1)
2150 2164
2151=item Stopping check/prepare/idle watchers: O(1) 2165=item Stopping check/prepare/idle watchers: O(1)
2152 2166
2153=item Stopping an io/signal/child watcher: O(number_of_watchers_for_this_(fd/signal/pid % 16)) 2167=item Stopping an io/signal/child watcher: O(number_of_watchers_for_this_(fd/signal/pid % EV_PID_HASHSIZE))
2154 2168
2155=item Finding the next timer per loop iteration: O(1) 2169=item Finding the next timer per loop iteration: O(1)
2156 2170
2157=item Each change on a file descriptor per loop iteration: O(number_of_watchers_for_this_fd) 2171=item Each change on a file descriptor per loop iteration: O(number_of_watchers_for_this_fd)
2158 2172

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines