… | |
… | |
1700 | will have the C<struct ev_loop *> as first argument, and you can create |
1700 | will have the C<struct ev_loop *> as first argument, and you can create |
1701 | additional independent event loops. Otherwise there will be no support |
1701 | additional independent event loops. Otherwise there will be no support |
1702 | for multiple event loops and there is no first event loop pointer |
1702 | for multiple event loops and there is no first event loop pointer |
1703 | argument. Instead, all functions act on the single default loop. |
1703 | argument. Instead, all functions act on the single default loop. |
1704 | |
1704 | |
1705 | =item EV_PERIODICS |
1705 | =item EV_PERIODIC_ENABLE |
1706 | |
1706 | |
1707 | If undefined or defined to be C<1>, then periodic timers are supported, |
1707 | If undefined or defined to be C<1>, then periodic timers are supported. If |
1708 | otherwise not. This saves a few kb of code. |
1708 | defined to be C<0>, then they are not. Disabling them saves a few kB of |
|
|
1709 | code. |
|
|
1710 | |
|
|
1711 | =item EV_EMBED_ENABLE |
|
|
1712 | |
|
|
1713 | If undefined or defined to be C<1>, then embed watchers are supported. If |
|
|
1714 | defined to be C<0>, then they are not. |
|
|
1715 | |
|
|
1716 | =item EV_STAT_ENABLE |
|
|
1717 | |
|
|
1718 | If undefined or defined to be C<1>, then stat watchers are supported. If |
|
|
1719 | defined to be C<0>, then they are not. |
|
|
1720 | |
|
|
1721 | =item EV_MINIMAL |
|
|
1722 | |
|
|
1723 | If you need to shave off some kilobytes of code at the expense of some |
|
|
1724 | speed, define this symbol to C<1>. Currently only used for gcc to override |
|
|
1725 | some inlining decisions, saves roughly 30% codesize of amd64. |
1709 | |
1726 | |
1710 | =item EV_COMMON |
1727 | =item EV_COMMON |
1711 | |
1728 | |
1712 | By default, all watchers have a C<void *data> member. By redefining |
1729 | By default, all watchers have a C<void *data> member. By redefining |
1713 | this macro to a something else you can include more and other types of |
1730 | this macro to a something else you can include more and other types of |