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

Comparing libev/ev.pod (file contents):
Revision 1.126 by root, Fri Feb 1 13:46:26 2008 UTC vs.
Revision 1.127 by root, Fri Feb 1 13:47:08 2008 UTC

2697=item EV_ATOMIC_T 2697=item EV_ATOMIC_T
2698 2698
2699Libev requires an integer type (suitable for storing C<0> or C<1>) whose 2699Libev requires an integer type (suitable for storing C<0> or C<1>) whose
2700access is atomic with respect to other threads or signal contexts. No such 2700access is atomic with respect to other threads or signal contexts. No such
2701type is easily found in the C language, so you can provide your own type 2701type is easily found in the C language, so you can provide your own type
2702that you know is safe for your purposes. 2702that you know is safe for your purposes. It is used both for signal handler "locking"
2703as well as for signal and thread safety in C<ev_async> watchers.
2703 2704
2704In the absense of this define, libev will use C<sig_atomic_t volatile> 2705In the absense of this define, libev will use C<sig_atomic_t volatile>
2705(from F<signal.h>), which is usually good enough on most platforms. 2706(from F<signal.h>), which is usually good enough on most platforms.
2706 2707
2707=item EV_H 2708=item EV_H

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines