summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2008-05-22 02:44:57 +0000
committerroot <root>2008-05-22 02:44:57 +0000
commitd41249dd73b09bfe9b65221b4b15ae5805291e91 (patch)
tree51bc1a90a3dbe895b952b49c5ed7b648881fdb25 /ev.pod
parent8ddd8acbba9f80fef5a7fd9b84c664fd8136f955 (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod24
1 files changed, 24 insertions, 0 deletions
diff --git a/ev.pod b/ev.pod
index 569c711..21e46c1 100644
--- a/ev.pod
+++ b/ev.pod
@@ -691,6 +691,17 @@ interactive servers (of course not for games), likewise for timeouts. It
usually doesn't make much sense to set it to a lower value than C<0.01>,
as this approsaches the timing granularity of most systems.
+=item ev_loop_verify (loop)
+
+This function only does something when C<EV_VERIFY> support has been
+compiled in. It tries to go through all internal structures and checks
+them for validity. If anything is found to be inconsistent, it will print
+an error message to standard error and call C<abort ()>.
+
+This can be used to catch bugs inside libev itself: under normal
+circumstances, this function will never abort as of course libev keeps its
+data structures consistent.
+
=back
@@ -3033,6 +3044,19 @@ noticably with with many (hundreds) of watchers.
The default is C<1> unless C<EV_MINIMAL> is set in which case it is C<0>
(disabled).
+=item EV_VERIFY
+
+Controls how much internal verification (see C<ev_loop_verify ()>) will
+be done: If set to C<0>, no internal verification code will be compiled
+in. If set to C<1>, then verification code will be compiled in, but not
+called. If set to C<2>, then the internal verification code will be
+called once per loop, which can slow down libev. If set to C<3>, then the
+verification code will be called very frequently, which will slow down
+libev considerably.
+
+The default is C<1>, unless C<EV_MINIMAL> is set, in which case it will be
+C<0.>
+
=item EV_COMMON
By default, all watchers have a C<void *data> member. By redefining