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