--- EV/EV.pm 2008/05/31 23:17:50 1.98 +++ EV/EV.pm 2008/07/08 09:37:37 1.99 @@ -113,6 +113,12 @@ For specific programs you can create additional event loops dynamically. +If you want to take avdantage of kqueue (which often works properly for +sockets only) even though the default loop doesn't enable it, you can +I a kqueue loop into the default loop: running the default loop +will then also service the kqueue loop to some extent. See the example in +the section about embed watchers for an example on how to achieve that. + =over 4 =item $loop = new EV::loop [$flags] @@ -138,14 +144,16 @@ =item $loop->loop_verify Calls C to make internal consistency checks (for debugging -libev) and abort the program if any data structures wree found to be +libev) and abort the program if any data structures were found to be corrupted. =item $loop = EV::default_loop [$flags] Return the default loop (which is a singleton object). Since this module already creates the default loop with default flags, specifying flags here -will not have any effect unless you destroy the default loop. +will not have any effect unless you destroy the default loop first, which +isn't supported. So in short: don't do it, and if you break it, you get to +keep the pieces. =back