… | |
… | |
131 | .\} |
131 | .\} |
132 | .rm #[ #] #H #V #F C |
132 | .rm #[ #] #H #V #F C |
133 | .\" ======================================================================== |
133 | .\" ======================================================================== |
134 | .\" |
134 | .\" |
135 | .IX Title "LIBEV 3" |
135 | .IX Title "LIBEV 3" |
136 | .TH LIBEV 3 "2020-07-12" "libev-4.33" "libev - high performance full featured event loop" |
136 | .TH LIBEV 3 "2021-01-11" "libev-4.33" "libev - high performance full featured event loop" |
137 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
137 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
138 | .\" way too many mistakes in technical documents. |
138 | .\" way too many mistakes in technical documents. |
139 | .if n .ad l |
139 | .if n .ad l |
140 | .nh |
140 | .nh |
141 | .SH "NAME" |
141 | .SH "NAME" |
… | |
… | |
1087 | \& \- Queue all expired timers. |
1087 | \& \- Queue all expired timers. |
1088 | \& \- Queue all expired periodics. |
1088 | \& \- Queue all expired periodics. |
1089 | \& \- Queue all idle watchers with priority higher than that of pending events. |
1089 | \& \- Queue all idle watchers with priority higher than that of pending events. |
1090 | \& \- Queue all check watchers. |
1090 | \& \- Queue all check watchers. |
1091 | \& \- Call all queued watchers in reverse order (i.e. check watchers first). |
1091 | \& \- Call all queued watchers in reverse order (i.e. check watchers first). |
1092 | \& Signals and child watchers are implemented as I/O watchers, and will |
1092 | \& Signals, async and child watchers are implemented as I/O watchers, and |
1093 | \& be handled here by queueing them when their watcher gets executed. |
1093 | \& will be handled here by queueing them when their watcher gets executed. |
1094 | \& \- If ev_break has been called, or EVRUN_ONCE or EVRUN_NOWAIT |
1094 | \& \- If ev_break has been called, or EVRUN_ONCE or EVRUN_NOWAIT |
1095 | \& were used, or there are no active watchers, goto FINISH, otherwise |
1095 | \& were used, or there are no active watchers, goto FINISH, otherwise |
1096 | \& continue with step LOOP. |
1096 | \& continue with step LOOP. |
1097 | \& FINISH: |
1097 | \& FINISH: |
1098 | \& \- Reset the ev_break status iff it was EVBREAK_ONE. |
1098 | \& \- Reset the ev_break status iff it was EVBREAK_ONE. |
… | |
… | |
4421 | .Sp |
4421 | .Sp |
4422 | For \f(CW\*(C`ev::embed\*(C'\fR watchers this method is called \f(CW\*(C`set_embed\*(C'\fR, to avoid |
4422 | For \f(CW\*(C`ev::embed\*(C'\fR watchers this method is called \f(CW\*(C`set_embed\*(C'\fR, to avoid |
4423 | clashing with the \f(CW\*(C`set (loop)\*(C'\fR method. |
4423 | clashing with the \f(CW\*(C`set (loop)\*(C'\fR method. |
4424 | .Sp |
4424 | .Sp |
4425 | For \f(CW\*(C`ev::io\*(C'\fR watchers there is an additional \f(CW\*(C`set\*(C'\fR method that acepts a |
4425 | For \f(CW\*(C`ev::io\*(C'\fR watchers there is an additional \f(CW\*(C`set\*(C'\fR method that acepts a |
4426 | new event mask only, and internally calls \f(CW\*(C`ev_io_modfify\*(C'\fR. |
4426 | new event mask only, and internally calls \f(CW\*(C`ev_io_modify\*(C'\fR. |
4427 | .IP "w\->start ()" 4 |
4427 | .IP "w\->start ()" 4 |
4428 | .IX Item "w->start ()" |
4428 | .IX Item "w->start ()" |
4429 | Starts the watcher. Note that there is no \f(CW\*(C`loop\*(C'\fR argument, as the |
4429 | Starts the watcher. Note that there is no \f(CW\*(C`loop\*(C'\fR argument, as the |
4430 | constructor already stores the event loop. |
4430 | constructor already stores the event loop. |
4431 | .IP "w\->start ([arguments])" 4 |
4431 | .IP "w\->start ([arguments])" 4 |