… | |
… | |
823 | Can be used to make a call to C<ev_run> return early (but only after it |
823 | Can be used to make a call to C<ev_run> return early (but only after it |
824 | has processed all outstanding events). The C<how> argument must be either |
824 | has processed all outstanding events). The C<how> argument must be either |
825 | C<EVBREAK_ONE>, which will make the innermost C<ev_run> call return, or |
825 | C<EVBREAK_ONE>, which will make the innermost C<ev_run> call return, or |
826 | C<EVBREAK_ALL>, which will make all nested C<ev_run> calls return. |
826 | C<EVBREAK_ALL>, which will make all nested C<ev_run> calls return. |
827 | |
827 | |
828 | This "unloop state" will be cleared when entering C<ev_run> again. |
828 | This "break state" will be cleared when entering C<ev_run> again. |
829 | |
829 | |
830 | It is safe to call C<ev_break> from outside any C<ev_run> calls. ##TODO## |
830 | It is safe to call C<ev_break> from outside any C<ev_run> calls, too. |
831 | |
831 | |
832 | =item ev_ref (loop) |
832 | =item ev_ref (loop) |
833 | |
833 | |
834 | =item ev_unref (loop) |
834 | =item ev_unref (loop) |
835 | |
835 | |