… | |
… | |
667 | kind. There is a C<ev_idle_set> macro, but using it is utterly pointless, |
667 | kind. There is a C<ev_idle_set> macro, but using it is utterly pointless, |
668 | believe me. |
668 | believe me. |
669 | |
669 | |
670 | =back |
670 | =back |
671 | |
671 | |
672 | =head2 C<ev_prepare> and C<ev_check> - your hooks into the event loop |
672 | =head2 C<ev_prepare> and C<ev_check> - customise your event loop |
673 | |
673 | |
674 | Prepare and check watchers are usually (but not always) used in tandem: |
674 | Prepare and check watchers are usually (but not always) used in tandem: |
675 | Prepare watchers get invoked before the process blocks and check watchers |
675 | Prepare watchers get invoked before the process blocks and check watchers |
676 | afterwards. |
676 | afterwards. |
677 | |
677 | |