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

Comparing libev/ev.pod (file contents):
Revision 1.379 by root, Tue Jul 12 23:32:10 2011 UTC vs.
Revision 1.380 by root, Mon Jul 25 03:47:28 2011 UTC

4063suitable for use with C<EV_A>. 4063suitable for use with C<EV_A>.
4064 4064
4065=item C<EV_DEFAULT>, C<EV_DEFAULT_> 4065=item C<EV_DEFAULT>, C<EV_DEFAULT_>
4066 4066
4067Similar to the other two macros, this gives you the value of the default 4067Similar to the other two macros, this gives you the value of the default
4068loop, if multiple loops are supported ("ev loop default"). 4068loop, if multiple loops are supported ("ev loop default"). The default loop
4069will be initialised if it isn't already initialised.
4070
4071For non-multiplicity builds, these macros do nothing, so you always have
4072to initialise the loop somewhere.
4069 4073
4070=item C<EV_DEFAULT_UC>, C<EV_DEFAULT_UC_> 4074=item C<EV_DEFAULT_UC>, C<EV_DEFAULT_UC_>
4071 4075
4072Usage identical to C<EV_DEFAULT> and C<EV_DEFAULT_>, but requires that the 4076Usage identical to C<EV_DEFAULT> and C<EV_DEFAULT_>, but requires that the
4073default loop has been initialised (C<UC> == unchecked). Their behaviour 4077default loop has been initialised (C<UC> == unchecked). Their behaviour
4412will have the C<struct ev_loop *> as first argument, and you can create 4416will have the C<struct ev_loop *> as first argument, and you can create
4413additional independent event loops. Otherwise there will be no support 4417additional independent event loops. Otherwise there will be no support
4414for multiple event loops and there is no first event loop pointer 4418for multiple event loops and there is no first event loop pointer
4415argument. Instead, all functions act on the single default loop. 4419argument. Instead, all functions act on the single default loop.
4416 4420
4421Note that C<EV_DEFAULT> and C<EV_DEFAULT_> will no longer provide a
4422default loop when multiplicity is switched off - you always have to
4423initialise the loop manually in this case.
4424
4417=item EV_MINPRI 4425=item EV_MINPRI
4418 4426
4419=item EV_MAXPRI 4427=item EV_MAXPRI
4420 4428
4421The range of allowed priorities. C<EV_MINPRI> must be smaller or equal to 4429The range of allowed priorities. C<EV_MINPRI> must be smaller or equal to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines