… | |
… | |
944 | Can be used to make a call to \f(CW\*(C`ev_run\*(C'\fR return early (but only after it |
944 | Can be used to make a call to \f(CW\*(C`ev_run\*(C'\fR return early (but only after it |
945 | has processed all outstanding events). The \f(CW\*(C`how\*(C'\fR argument must be either |
945 | has processed all outstanding events). The \f(CW\*(C`how\*(C'\fR argument must be either |
946 | \&\f(CW\*(C`EVBREAK_ONE\*(C'\fR, which will make the innermost \f(CW\*(C`ev_run\*(C'\fR call return, or |
946 | \&\f(CW\*(C`EVBREAK_ONE\*(C'\fR, which will make the innermost \f(CW\*(C`ev_run\*(C'\fR call return, or |
947 | \&\f(CW\*(C`EVBREAK_ALL\*(C'\fR, which will make all nested \f(CW\*(C`ev_run\*(C'\fR calls return. |
947 | \&\f(CW\*(C`EVBREAK_ALL\*(C'\fR, which will make all nested \f(CW\*(C`ev_run\*(C'\fR calls return. |
948 | .Sp |
948 | .Sp |
949 | This \*(L"unloop state\*(R" will be cleared when entering \f(CW\*(C`ev_run\*(C'\fR again. |
949 | This \*(L"break state\*(R" will be cleared when entering \f(CW\*(C`ev_run\*(C'\fR again. |
950 | .Sp |
950 | .Sp |
951 | It is safe to call \f(CW\*(C`ev_break\*(C'\fR from outside any \f(CW\*(C`ev_run\*(C'\fR calls. ##TODO## |
951 | It is safe to call \f(CW\*(C`ev_break\*(C'\fR from outside any \f(CW\*(C`ev_run\*(C'\fR calls, too. |
952 | .IP "ev_ref (loop)" 4 |
952 | .IP "ev_ref (loop)" 4 |
953 | .IX Item "ev_ref (loop)" |
953 | .IX Item "ev_ref (loop)" |
954 | .PD 0 |
954 | .PD 0 |
955 | .IP "ev_unref (loop)" 4 |
955 | .IP "ev_unref (loop)" 4 |
956 | .IX Item "ev_unref (loop)" |
956 | .IX Item "ev_unref (loop)" |