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

Comparing libev/ev.pod (file contents):
Revision 1.399 by root, Mon Apr 2 23:14:41 2012 UTC vs.
Revision 1.400 by root, Mon Apr 2 23:46:11 2012 UTC

4620 #define EV_USE_POLL 1 4620 #define EV_USE_POLL 1
4621 #define EV_CHILD_ENABLE 1 4621 #define EV_CHILD_ENABLE 1
4622 #define EV_ASYNC_ENABLE 1 4622 #define EV_ASYNC_ENABLE 1
4623 4623
4624The actual value is a bitset, it can be a combination of the following 4624The actual value is a bitset, it can be a combination of the following
4625values: 4625values (by default, all of these are enabled):
4626 4626
4627=over 4 4627=over 4
4628 4628
4629=item C<1> - faster/larger code 4629=item C<1> - faster/larger code
4630 4630
4634code size by roughly 30% on amd64). 4634code size by roughly 30% on amd64).
4635 4635
4636When optimising for size, use of compiler flags such as C<-Os> with 4636When optimising for size, use of compiler flags such as C<-Os> with
4637gcc is recommended, as well as C<-DNDEBUG>, as libev contains a number of 4637gcc is recommended, as well as C<-DNDEBUG>, as libev contains a number of
4638assertions. 4638assertions.
4639
4640The default is off when C<__OPTIMIZE_SIZE__> is defined by your compiler
4641(e.g. gcc with C<-Os>).
4639 4642
4640=item C<2> - faster/larger data structures 4643=item C<2> - faster/larger data structures
4641 4644
4642Replaces the small 2-heap for timer management by a faster 4-heap, larger 4645Replaces the small 2-heap for timer management by a faster 4-heap, larger
4643hash table sizes and so on. This will usually further increase code size 4646hash table sizes and so on. This will usually further increase code size
4644and can additionally have an effect on the size of data structures at 4647and can additionally have an effect on the size of data structures at
4645runtime. 4648runtime.
4649
4650The default is off when C<__OPTIMIZE_SIZE__> is defined by your compiler
4651(e.g. gcc with C<-Os>).
4646 4652
4647=item C<4> - full API configuration 4653=item C<4> - full API configuration
4648 4654
4649This enables priorities (sets C<EV_MAXPRI>=2 and C<EV_MINPRI>=-2), and 4655This enables priorities (sets C<EV_MAXPRI>=2 and C<EV_MINPRI>=-2), and
4650enables multiplicity (C<EV_MULTIPLICITY>=1). 4656enables multiplicity (C<EV_MULTIPLICITY>=1).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines