… | |
… | |
2607 | |
2607 | |
2608 | If defined to be C<1>, libev will compile in support for the Linux inotify |
2608 | If defined to be C<1>, libev will compile in support for the Linux inotify |
2609 | interface to speed up C<ev_stat> watchers. Its actual availability will |
2609 | interface to speed up C<ev_stat> watchers. Its actual availability will |
2610 | be detected at runtime. |
2610 | be detected at runtime. |
2611 | |
2611 | |
|
|
2612 | =item EV_ATOMIC_T |
|
|
2613 | |
|
|
2614 | Libev requires an integer type (suitable for storing C<0> or C<1>) whose |
|
|
2615 | access is atomic with respect to other threads or signal contexts. No such type |
|
|
2616 | is easily found using, so you cna provide your own type that you know is safe. |
|
|
2617 | |
|
|
2618 | In the absense of this define, libev will use C<sig_atomic_t volatile> |
|
|
2619 | from F<signal.h>, which is usually good enough on most platforms. |
|
|
2620 | |
2612 | =item EV_H |
2621 | =item EV_H |
2613 | |
2622 | |
2614 | The name of the F<ev.h> header file used to include it. The default if |
2623 | The name of the F<ev.h> header file used to include it. The default if |
2615 | undefined is C<"ev.h"> in F<event.h>, F<ev.c> and F<ev++.h>. This can be |
2624 | undefined is C<"ev.h"> in F<event.h>, F<ev.c> and F<ev++.h>. This can be |
2616 | used to virtually rename the F<ev.h> header file in case of conflicts. |
2625 | used to virtually rename the F<ev.h> header file in case of conflicts. |
… | |
… | |
2681 | defined to be C<0>, then they are not. |
2690 | defined to be C<0>, then they are not. |
2682 | |
2691 | |
2683 | =item EV_FORK_ENABLE |
2692 | =item EV_FORK_ENABLE |
2684 | |
2693 | |
2685 | If undefined or defined to be C<1>, then fork watchers are supported. If |
2694 | If undefined or defined to be C<1>, then fork watchers are supported. If |
|
|
2695 | defined to be C<0>, then they are not. |
|
|
2696 | |
|
|
2697 | =item EV_ASYNC_ENABLE |
|
|
2698 | |
|
|
2699 | If undefined or defined to be C<1>, then async watchers are supported. If |
2686 | defined to be C<0>, then they are not. |
2700 | defined to be C<0>, then they are not. |
2687 | |
2701 | |
2688 | =item EV_MINIMAL |
2702 | =item EV_MINIMAL |
2689 | |
2703 | |
2690 | If you need to shave off some kilobytes of code at the expense of some |
2704 | If you need to shave off some kilobytes of code at the expense of some |