summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2010-10-25 09:31:47 +0000
committerroot <root>2010-10-25 09:31:47 +0000
commit0a2d41db33a342205818af32c2f20017670c5019 (patch)
tree9ca212953181a6ad27f7945facc6d72c0aac890b /ev.pod
parent2f22bdcc45fc218375b5c0537485e54e610cb6d0 (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod8
1 files changed, 7 insertions, 1 deletions
diff --git a/ev.pod b/ev.pod
index 2b30871..b09fd04 100644
--- a/ev.pod
+++ b/ev.pod
@@ -4759,6 +4759,11 @@ assumes that the same (machine) code can be used to call any watcher
callback: The watcher callbacks have different type signatures, but libev
calls them using an C<ev_watcher *> internally.
+=item pointer accesses must be thread-atomic
+
+Accessing a pointer value must be atomic, it must both be readable and
+writable in one piece - this is the case on all current architectures.
+
=item C<sig_atomic_t volatile> must be thread-atomic as well
The type C<sig_atomic_t volatile> (or whatever is defined as
@@ -5006,5 +5011,6 @@ to be started (attached to an event loop) before they can receive events.
=head1 AUTHOR
-Marc Lehmann <libev@schmorp.de>, with repeated corrections by Mikael Magnusson.
+Marc Lehmann <libev@schmorp.de>, with repeated corrections by Mikael
+Magnusson and Emanuele Giaquinta.