… | |
… | |
2695 | be detected at runtime. |
2695 | be detected at runtime. |
2696 | |
2696 | |
2697 | =item EV_ATOMIC_T |
2697 | =item EV_ATOMIC_T |
2698 | |
2698 | |
2699 | Libev requires an integer type (suitable for storing C<0> or C<1>) whose |
2699 | Libev requires an integer type (suitable for storing C<0> or C<1>) whose |
2700 | access is atomic with respect to other threads or signal contexts. No such type |
2700 | access is atomic with respect to other threads or signal contexts. No such |
2701 | is easily found using, so you cna provide your own type that you know is safe. |
2701 | type is easily found in the C language, so you can provide your own type |
|
|
2702 | that you know is safe for your purposes. |
2702 | |
2703 | |
2703 | In the absense of this define, libev will use C<sig_atomic_t volatile> |
2704 | In the absense of this define, libev will use C<sig_atomic_t volatile> |
2704 | from F<signal.h>, which is usually good enough on most platforms. |
2705 | (from F<signal.h>), which is usually good enough on most platforms. |
2705 | |
2706 | |
2706 | =item EV_H |
2707 | =item EV_H |
2707 | |
2708 | |
2708 | The name of the F<ev.h> header file used to include it. The default if |
2709 | The name of the F<ev.h> header file used to include it. The default if |
2709 | undefined is C<"ev.h"> in F<event.h>, F<ev.c> and F<ev++.h>. This can be |
2710 | undefined is C<"ev.h"> in F<event.h>, F<ev.c> and F<ev++.h>. This can be |