summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2012-02-04 17:57:55 +0000
committerroot <root>2012-02-04 17:57:55 +0000
commit8bd5d2a25946234c4a1fe548d2422e45a7525b76 (patch)
treeb1d0d01ada5d32829164d3c2d034f818f4d643a3 /ev.pod
parenta5ab33589c68cbd203d0fd85e551b33f61ff062e (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod13
1 files changed, 13 insertions, 0 deletions
diff --git a/ev.pod b/ev.pod
index 9a4f187..2de0277 100644
--- a/ev.pod
+++ b/ev.pod
@@ -4506,6 +4506,19 @@ interface to speed up C<ev_stat> watchers. Its actual availability will
be detected at runtime. If undefined, it will be enabled if the headers
indicate GNU/Linux + Glibc 2.4 or newer, otherwise disabled.
+=item EV_NO_SMP
+
+If defined to be C<1>, libev will assume that memory is always coherent
+between threads, that is, threads can be used, but threads never run on
+different cpus (or different cpu cores). This reduces dependencies
+and makes libev faster.
+
+=item EV_NO_THREADS
+
+If defined to be C<1>, libev will assume that it will never be called
+from different threads, which is a stronger assumption than C<EV_NO_SMP>,
+above. This reduces dependencies and makes libev faster.
+
=item EV_ATOMIC_T
Libev requires an integer type (suitable for storing C<0> or C<1>) whose