diff options
author | root <root> | 2011-07-25 03:47:28 +0000 |
---|---|---|
committer | root <root> | 2011-07-25 03:47:28 +0000 |
commit | 89414f63904710c09ae1b96f356804b9a64d5b62 (patch) | |
tree | 5d59169a767472e444d2d6f76731829115da0b71 | |
parent | 10ddef1de058ded7a5397929d84ff0e409672db9 (diff) |
*** empty log message ***
-rw-r--r-- | ev.pod | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -4065,7 +4065,11 @@ suitable for use with C<EV_A>. =item C<EV_DEFAULT>, C<EV_DEFAULT_> Similar to the other two macros, this gives you the value of the default -loop, if multiple loops are supported ("ev loop default"). +loop, if multiple loops are supported ("ev loop default"). The default loop +will be initialised if it isn't already initialised. + +For non-multiplicity builds, these macros do nothing, so you always have +to initialise the loop somewhere. =item C<EV_DEFAULT_UC>, C<EV_DEFAULT_UC_> @@ -4414,6 +4418,10 @@ additional independent event loops. Otherwise there will be no support for multiple event loops and there is no first event loop pointer argument. Instead, all functions act on the single default loop. +Note that C<EV_DEFAULT> and C<EV_DEFAULT_> will no longer provide a +default loop when multiplicity is switched off - you always have to +initialise the loop manually in this case. + =item EV_MINPRI =item EV_MAXPRI |