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

Comparing libev/ev.pod (file contents):
Revision 1.332 by root, Sun Oct 24 23:30:23 2010 UTC vs.
Revision 1.333 by root, Mon Oct 25 09:31:47 2010 UTC

4757structure (guaranteed by POSIX but not by ISO C for example), but it also 4757structure (guaranteed by POSIX but not by ISO C for example), but it also
4758assumes that the same (machine) code can be used to call any watcher 4758assumes that the same (machine) code can be used to call any watcher
4759callback: The watcher callbacks have different type signatures, but libev 4759callback: The watcher callbacks have different type signatures, but libev
4760calls them using an C<ev_watcher *> internally. 4760calls them using an C<ev_watcher *> internally.
4761 4761
4762=item pointer accesses must be thread-atomic
4763
4764Accessing a pointer value must be atomic, it must both be readable and
4765writable in one piece - this is the case on all current architectures.
4766
4762=item C<sig_atomic_t volatile> must be thread-atomic as well 4767=item C<sig_atomic_t volatile> must be thread-atomic as well
4763 4768
4764The type C<sig_atomic_t volatile> (or whatever is defined as 4769The type C<sig_atomic_t volatile> (or whatever is defined as
4765C<EV_ATOMIC_T>) must be atomic with respect to accesses from different 4770C<EV_ATOMIC_T>) must be atomic with respect to accesses from different
4766threads. This is not part of the specification for C<sig_atomic_t>, but is 4771threads. This is not part of the specification for C<sig_atomic_t>, but is
5004 5009
5005=back 5010=back
5006 5011
5007=head1 AUTHOR 5012=head1 AUTHOR
5008 5013
5009Marc Lehmann <libev@schmorp.de>, with repeated corrections by Mikael Magnusson. 5014Marc Lehmann <libev@schmorp.de>, with repeated corrections by Mikael
5015Magnusson and Emanuele Giaquinta.
5010 5016

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines